Why in the world would it not always index the first letter in the string to zero????
-1 means that the character was not in the string. It does not mean that it was at position -1.
Why in the world would it not always index the first letter in the string to zero????
-1 means that the character was not in the string. It does not mean that it was at position -1.