Skip to main content

string.len()

Returns the number of characters in a string

Availability

Device + Agent

Returns

Integer — the length of the string

Description

This method returns the length of the string, ie. the number of characters it comprises.

Example Code