string.findOneOf()
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.
string.findOneOf( set=string, start=number )
Returns: Number
| Argument | Description |
|---|---|
|
set
string,
required
|
edit
String that contains one or more characters to search for. |
|
start
number,
optional
|
edit
Start position of search. |
Examples
editdump("I".findoneof("I Love Lucee"));
dump("Lu".findoneof("I Love Lucee"));