value requiredThe value to search for in the list. The match is exact (not case-insensitive) and the value is not trimmed.
values requiredThe delimited list to search. It is split on the delimiter, or parsed as a JSON array when it starts with an open square bracket and ends with a close square bracket. When empty, lookup returns an empty string.
delimiter optional default -Character or string that separates the values. When omitted, a hyphen is used (or JSON parsing when values looks like a JSON array). It may contain spaces - parameters are not trimmed.
text optional default _#posTemplate for the result. Use the placeholders _#pos (1-based position), _#key (0-based position) and _#count (the total number of values). When omitted, the 1-based position is returned.
{lookup:10:5-8-10-12-15}
{lookup:30:10-20-30:-:found at position _#pos (index _#key)}
{lookup:cz:en;cz;sk:;}
[{lookup:x:}]
{lookup:blue:["red","green","blue"]}
{lookup:banana:apple-banana-cherry}
{lookup:10:5-8-10-12-15:-:_#pos of _#count}
{lookup:cherry:apple-banana-cherry:-:_#key}
[{lookup:99:5-8-10-12-15}]