Len()

Determines the length of a string, array or struct

Len( value=object );

Returns: Number

Argument Description
value
object, required

the object to measure the length of

Alias: string, object

Examples

Simple example for Len

str="I love lucee";
writeOutput(len(str));//12

Member Function

str=['I','love','lucee'];
writeOutput(str.len());//3

See also