Finds the first occurrence of any one of a set of characters
in a string, from a specified start position. The search is
case-sensitive.
Lucee Function Reference
Function FINDONEOF
Example
findoneof(string set,string string,[number start]):number
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Default Value | Description |
---|---|---|---|---|
set | string | Yes | String that contains one or more characters to search for. | |
string | string | Yes | String in which to search. | |
start | number | No | 1 | Start position of search. |