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.
FindOneOf( set=string, string=string, start=number );
Returns: Number
Examples
dump(FindOneOf("a", "a a a a b b b b" ));
dump(FindOneOf("b", "a a a a b b b b" ));
dump(FindOneOf("c", "a a a a b b b b" ));
See also
- Strings
- string.findOneOf()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)