Page 1 of 1

Comparing strings [SOLVED]

Posted: Fri May 01, 2020 6:21 am
by kingwolf71
Maybe this might be a stupid question, but how do you compare 2 string in a case insensitive way using Spiderbasic?

Re: Comparing strings

Posted: Fri May 01, 2020 8:59 am
by Fred
You can do like this:

Code: Select all

If LCase(a$) = LCase(b$)
  ...
EndIf

Re: Comparing strings [SOLVED]

Posted: Fri May 01, 2020 9:08 am
by kingwolf71
Thanks. Didn't think of that