User Tools

Site Tools


syntax:functions:match

Match(value, values, separator)

Returns position of a value in a list of values which is a text string, delimited by separator.

Values in the delimited string are always considered text, even if they look like a number. First argument is implicitly converted to text. Separator value may contain more than 1 character.

Example Result
match(5, '5;55;555', ';') 1
match('55', '555;55;5', ';') 2

See also

syntax/functions/match.txt · Last modified: 2016/06/20 11:23 by dmitry