Lucee object methods reference

Object Method 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(string set,[number start]):number

Category

string,find

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.
start number  No 1 Start position of search.