A FindString Problem
Posted: Tue Dec 08, 2015 2:35 am
Why is the #PB_String_NoCase mode working as expected in ReplaceString but not FindString?
Code: Select all
S$ = "abcde"
Debug S$
Debug FindString(S$, "D", #PB_String_NoCase) ; Should be 4
Debug FindString(S$, "d", #PB_String_NoCase) ; I's 4; ok
Debug ReplaceString(S$, "D", "x", #PB_String_NoCase) ; as it should be
S$ = "abcde"
Debug ReplaceString(S$, "d", "x", #PB_String_NoCase) ; as it should be