In JavaScript how do you find the length of a string.
I've seen the way to do it is
stringname.length
but this always brings back an error.
I've also tried to do length(stringname) and Len(stringname).