ListFind
Return int position of value in delimited list, case sensitive or case-insenstive variations
Method Signature
Arguments
Argument
Type
Required
Description
Default
list
string
true
The list to be searched.
value
string
true
The value to locate in the list or a function to filter the list
delimiter
string
false
The list delimiter(s)
,
includeEmptyFields
boolean
false
Whether to include empty fields in the search
false
multiCharacterDelimiter
boolean
false
false
Examples
Basic Example
Find item in a list and return the index.
Result: 2
Different Delimiters
Find item in a pipe delimited list and return the index.
Result: 2
Member Syntax
listFindNoCase as a member function
Result: 2
Additional Examples
Related
Last updated
Was this helpful?