length Returns the length of the string and the number of characters returned for multi-byte characters. For example, five two-byte width words return a length of 10.