You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

This function converts a text with comma-separated numbers into a number list.

Syntax
toNumberList(text, separators) #Output: Number list
Examples
Parser expressionDescription
toNumberList("1, 3? 5; 7; 11; 13", ",?;")

This example returns the number list:

[1, 3, 5, 7, 11, 13]

Additional information

Parameters used in this function

ParameterInput (data type)Description
text

TEXT

Any comma-separated text containing numbers in decimal representation (e.g. "1, 2, 3") , separated by the characters defined in the second parameter.
separators

TEXT

Any separator character.
Output

This function returns a NUMBER LIST