How to get the strlen in JavaScript?


e.g.





.

..


function OnChange()

{

strlen(document.form.MyName.value); <-

}


is there any function in JavaScript, that returns the length of a string?


Thanks