isset - This function is used to check if a value is contained in a list with a delimiter between each element.
isset(values:"…",list:"…",delimiter:"…") isset("values","list"[,"delimiter"])
This function is used to find a value within a defined set. This value can be made of multiple characters separated by a delimiter. In that case, the function will try to find at least one value within the list.
In the first form, each parameter is named. In the second form, the parameters are positionnal.
By default, the delimiter is a comma, but the user can set it to something different at the beginning. It can be more than one character.
The function returns a zero if the value is not found in the set. When the value is found, it returns the position of the value starting at 1.
res=4. return res=4. if isset(list:",bb,ccc,d",values:"d",delimiter:",") then "found"; else "not"; endif
Written by Pierre Laplante and Caroline Laplante, <laplante@sednove.com>
1.0 2014-09-09 21:24:14 laplante@sednove.com
Edit© 2024 extenso Inc. All rights reserved.