Yes, it is case-sensitive. You can do a case-insensitive indexOf by converting your String and the String parameter both to upper-case before searching . Note that toUpperCase may not work in some circumstances.
Yes, it is case-sensitive. You can do a case-insensitive indexOf by converting your String and the String parameter both to upper-case before searching . Note that toUpperCase may not work in some circumstances.