[Javascript] Comparing Strings

Timothy White weirdit at gmail.com
Thu Aug 25 07:16:55 CDT 2005


On 8/25/05, Shawn Milo <shawn.milo at gmail.com> wrote:
> 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.

Do you have some code? I think that it's only a white space problem.
I'm not a good javascript programmer yet, my forte is C, PHP and Perl.

Thanks

Tim



More information about the Javascript mailing list