Possible duplicate of JavaScript: split doesn't work in IE? ?
Internet Explorer excludes almost all empty values from the resulting array (e.g., when two delimiters appear next to each other in the data, or when a delimiter appears at the start or end of the data).