Tuesday, March 23, 2010

Finding length of a string in JavaScript

var str="Im feeling stupid";
alert(str.length);

No comments:

Post a Comment