Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Comparing Strings


  • From: weirdit at gmail.com (Timothy White)
  • Subject: [Javascript] Comparing Strings
  • Date: Thu Aug 25 07:17:03 2005

On 8/25/05, Shawn Milo <shawn.milo@xxxxxxxxx> 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