Len

Determines the length of a string, array,struct,query ...

Len( value )

Returns: Number

Argument Description
value
object, required

the length of a string

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