Page 1 of 1

[SB 2.31] #PB_String_NoCase fails with FindString()

Posted: Wed Feb 17, 2021 4:04 pm
by munfraid
#PB_String_NoCase doesn't work with FindString():

Code: Select all

a.s = "Hello"
b.s = "L" 

Debug FindString(a, b)
Debug FindString(a, b, #PB_String_NoCase)

; LCase() and UCase() are working as expected

Debug FindString(LCase(a), LCase(b))
Debug FindString(UCase(a), UCase(b))
// Moved from "Bugs" to "Coding Questions" (Peter)

Re: [SB 2.31] #PB_String_NoCase fails with FindString()

Posted: Wed Feb 17, 2021 4:24 pm
by Peter
munfraid wrote:#PB_String_NoCase doesn't work with FindString():
#PB_String_NoCase is the fourth parameter. ;)

Re: [SB 2.31] #PB_String_NoCase fails with FindString()

Posted: Wed Feb 17, 2021 5:19 pm
by munfraid
Ouch :roll:

Sorry for inconvenience...