[Javascript] Comparing Strings

Shawn Milo shawn.milo at gmail.com
Thu Aug 25 06:54:20 CDT 2005


Maybe you could make them both lower-case and remove all whitespace
(including newlines, tabs, spaces, etc.) for the comparison. Unless
you can think of a situation where you'd want to see a  difference in
the whitespace as a valid difference.



More information about the Javascript mailing list