Railo 4.2 Reference
Choose a function:

Function LISTFIND

Determines the index of the first list element in which a
specified value occurs. Case-sensitive

Beispiel

listfind(string list,string value,[string delimiters,[boolean includeEmptyFields]]):number

Argumente

Die Argumente für diese Funktion sind fest vorgegeben. Ausser den nachfolgenden Argumenten dürfen keine weiteren verwendet werden.
Name Typ Required Beschreibung
list string  Yes a string list  
value string  Yes element for which to search  
delimiters string  No Characters that separate list elements. The default value is comma.  
includeEmptyFields boolean  No if set to true, empty values are included as well