K
korean_dave
stringa = "hi"
stringb = "hiyoooo"
I'd like it to return -1 when I do:
returnVal = stringa.find(stringb);
Instead, it treats stringa as "hi" and stringb as "hi".
How do I solve this?
stringb = "hiyoooo"
I'd like it to return -1 when I do:
returnVal = stringa.find(stringb);
Instead, it treats stringa as "hi" and stringb as "hi".
How do I solve this?