User Tools

Site Tools


syntax:functions:setlength

SetLength(list[, separator])

Category: Text function


Description

This function returns the number of distinct values in the list.


Arguments

ArgumentTypeDescription
listList (Text)A delimited set of string values.
separatorTextThe delimiter to use in the concatenation of the output string. If not defined, the default is comma.

Return value type: Number


Remarks

All leading and trailing spaces are removed from around the list values.


Examples

setlength("A, B") //returns 2
setlength("A;B") //returns 1 (the default separator is comma)


See also

syntax/functions/setlength.txt · Last modified: 2024/04/12 02:13 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki