Posted by Aaron | Posted in JavaScript | Posted on 22-02-2009
Occasionally I run across the need to get the number of characters in a string. You can use the code below to determine the character length of a string.
var myString = 'This is a String'; alert(myString.length);
Related posts:



