PDA

View Full Version : Text ==?



Pattt
October 25th, 2005, 02:24 PM
Hi, how can I make...

if (dyamictext1 == dynamictext2)

... independent of the upper cases or lower cases?

If you understand what i mean?

Please help! Thx! :D

matriculated
October 25th, 2005, 02:43 PM
if (dyamictext1.toLowerCase() == dyamictext2.toLowerCase()) {
}

expensive_pen
October 25th, 2005, 03:29 PM
aren't you supposed to use eq instead of ==, or am i outdated

Pattt
October 25th, 2005, 03:40 PM
Thanks it works! :)

eq? I've seen that before, but when I tested it, it didn't work..

expensive_pen
October 25th, 2005, 03:41 PM
oh I looked it up and it's deprecated