| Author |
compare strings case insensitive?
|
reubin haz
Ranch Hand
Joined: May 12, 2005
Posts: 287
|
|
|
I want to compare and search strings case insensitively. But I only see code that use indexOf() or comparison signs for comparing, which is case sensitive. Is there any methods or ways to do the comparison which is case insensitive?
|
SCJA, SCJP5.0, SCBCD, SCWCD
|
 |
Yuriy Fuksenko
Ranch Hand
Joined: Feb 02, 2001
Posts: 413
|
|
|
you convert both string to upper (or lower) case and compare
|
 |
 |
|
|
subject: compare strings case insensitive?
|
|
|