The test failed with "stack overflow" error if value and subStr are both empty strings.
The test failed with "stack overflow" error if value and subStr are both empty strings.