The String length Property
length property provides the length of a string. Here is an example:
This example should return
5, the length of the string "
length property can also be used on variables. For example:
var full_name = "Dusty Arlia"; var full_name_length = full_name.length; document.write(full_name_length); //should print 11