length

Return the number of characters in a string.

Syntax

integer length(string str)

Parameters

str
The source string from which the number of characters is returned.

Return Value

Returns the number of characters in the string str.

Example

Test Lines

Result