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

Argument Description Default
set
string, required

String that contains one or more characters to search for.

string
string, required

String in which to search.

start
number, optional

Start position of search.

1

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