len()

Function groupExecute on clientPlatform(s)
StringYESAll

Syntax

len(string)

Description

Returns the length of the string (number of characters).

Example

Calculate
 
lResult
 as 
len
(
'Hello there!'
)

# returns 12

 
Calculate
 
lResult
 as 
len
(
abs(
(-10.25))

# returns 5 as it is the same as len(10.25)

 
Calculate
 
lResult
 as 
len
(
'Omnis'
)+20

# returns 25