Skip to content
Reference > Methods

strLen(text)

Definition

Integer strLen(Object text)

Description

Returns the number of chars in the supplied string.

Parameter Definition

Name Type Description
text Object String to get length for

Examples

1
2
3
Integer r1 = strLen(""); // r1 == 0
Integer r2 = strLen("AMI Rocks"); // r2 == 9
Integer r3 = strLen("\n\n\n"); // r3 == 3