Length (string [, boolInBytes])

Result Type: Number

Definition:  Returns the length, in characters, of string.

If boolInBytes is true or IN_BYTES (which is a constant with value true), then the return value is a byte count instead of a character count. This option should only be used when the string is known to be pure ASCII. It is much faster because it does not account for multibyte unicode characters. See also ByteLength

Examples:  Length("Ban Antidisestablishmentarianism!")

returns 33.


returns 0.