String JavaScript Tutorial

The length property of an instance of the String object returns the total length of the string.