According to the manual FindString's optional parameter "Mode" allows to do a case insensitive search with #PB_String_NoCase: https://www.purebasic.com/documentation ... tring.html
However, the following code
Code: Select all
Debug FindString("PureBasic", "Bas")
Debug FindString("PureBasic", "BAS")
Debug ""
Debug FindString("PureBasic", "Bas", #PB_String_CaseSensitive)
Debug FindString("PureBasic", "BAS", #PB_String_CaseSensitive)
Debug ""
Debug FindString("PureBasic", "Bas", #PB_String_NoCase)
Debug FindString("PureBasic", "BAS", #PB_String_NoCase)
Code: Select all
5
0
5
0
5
0