ListLen
Calculates the length of a list separated by the specified delimiter
Method Signature
ListLen(list=[string], delimiter=[string], includeEmptyFields=[boolean], multiCharacterDelimiter=[boolean])Arguments
Argument
Type
Required
Description
Default
list
string
true
string list to calculate the length
delimiter
string
false
string the list delimiter
,
includeEmptyFields
boolean
false
boolean whether to include empty fields in the returned result
false
multiCharacterDelimiter
boolean
false
boolean whether the delimiter is multi-character
false
Examples
Simple listLen Example
Get the number of elements in this list
listLen( "foo,bar,bar2,foo2" );
Result: 4
listLen Example with Delimiter
Get the number of elements in this list using a custom delimiter
Result: 3
listLen Example with IncludeEmptyValues
Get the number of elements in this list, including empty values
Result: 4
Additional Examples
Related
Last updated
Was this helpful?
