Skip to main content

Length

Length (Function)

Format

length( string_expression )
length( array )
length( map )

returns integer_expression

Description

Returns the number of characters in string_expression, the number of elements in a map, or the number of values in an array.

NOTE: The length function returns the total number of items in a two dimensional array (rows * columns).

See Also

Asc, Chr, Count, Countx, Explode, Explodex, Implode, Instr, Instrx, Left, Length, Ljust, Lower, LTrim, MD5, Mid, Midx, Replace, Replacex, Right, Rjust, RTrim, Serialize, String, Trim, Unserialize, Upper, Zfill