User Tools

Site Tools


syntax:functions:match

This is an old revision of the document!


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.1466436193.txt.gz · Last modified: 2016/06/20 11:23 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki