20 September 2007

IE, IE, IE

In case you were wondering, there's apparently a difference between string.split("/t")and string.split(/\t/) in Internet Explorer 6.0 (they both return the same thing in Firefox).

Basically, if you've got a tab-delimited list with empty values, IE will strip those empty values if you use the regex object to split with. Why, I don't know, but maybe I'm missing something.

No comments:

Post a Comment