In FireFox, I am able to call individual characters from a string by referencing it as an array.
For instance:
Code:
var test = "testing";
document.write(test[2]);
would output 's'
However in IE6 it returns 'undefined'. Is my code flawed, or is there a more universal way to call an individual digit of a string?