Ben Curtis wrote:

> But, honestly -- fractions of a millisecond. The only concerns I have
> for the equation are:
> 1- if it's unobtrusively applied, then is it bullet proof (that is,
> can it give a false positive a non-scriptor will have to contend
> with)?
> 2- is it easy to read, understand, and modify three years later
> without documentation?

concern #2 is what made me stick with indexOf
And thanks for the followup, it made me notice that I was still using
toUpperCase after switching from "HTTP://" to "://"

Thierry | www.TJKDesign.com

******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to