Using the following two strings as test data:
"start the same."
"end differently!"
The Find method produces the result "e e". But that is not a substring of either of the source strings. Unless this is somehow supposed to have special meaning, it cannot be considered a correct result. If it is supposed to have special meaning, it should be documented and there should be a test case showing that it is intended.
Using the following two strings as test data:
"start the same."
"end differently!"
The Find method produces the result "e e". But that is not a substring of either of the source strings. Unless this is somehow supposed to have special meaning, it cannot be considered a correct result. If it is supposed to have special meaning, it should be documented and there should be a test case showing that it is intended.