Hi all, How can I check the equality between two strings in Javascript without considering or by ignoring the case sensitivity ? Foir eg: If i have var x = "maya" var y = "MAYA" How can I compare these two and return true ? Thanks, Maya
If i have var x = "maya" var y = "MAYA" Use this code ...
Note that the string themselves are not affected, only the return value is in lower case. HTH, - Manish [This message has been edited by Manish Hatwalne (edited October 11, 2001).]