Comparing strings [SOLVED]

Just starting out? Need help? Post your questions and find answers here.
kingwolf71
Posts: 21
Joined: Wed May 01, 2019 10:14 am

Comparing strings [SOLVED]

Post by kingwolf71 »

Maybe this might be a stupid question, but how do you compare 2 string in a case insensitive way using Spiderbasic?
Last edited by kingwolf71 on Fri May 01, 2020 9:07 am, edited 1 time in total.
Fred
Site Admin
Posts: 1510
Joined: Mon Feb 24, 2014 10:51 am

Re: Comparing strings

Post by Fred »

You can do like this:

Code: Select all

If LCase(a$) = LCase(b$)
  ...
EndIf
kingwolf71
Posts: 21
Joined: Wed May 01, 2019 10:14 am

Re: Comparing strings [SOLVED]

Post by kingwolf71 »

Thanks. Didn't think of that
Post Reply