Page 1 of 1

Comparison question.

Posted: 01 Jul 2011 18:54
by tiago
Hi people.

I need to compare a pair of strings, case insensitive. LikeI/UnLikeI is doing well but when matching numbers and other non-letter chars script is producing a "unknown operator: LikeI/UnLikeI" message. Quoting the items seems to have no effect. If I use "==" then "A" will be different than "a". Using "=" seems to be not allowed. How do I solve this?

Re: Comparison question.

Posted: 01 Jul 2011 19:08
by admin
compare()

Compares two strings.

Re: Comparison question.

Posted: 01 Jul 2011 19:25
by tiago
Works a treat, solved my problem. Thank you, admin!