FindOneOf()

edit

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
edit

String that contains one or more characters to search for.

string
string, required
edit

String in which to search.

start
number, optional
edit

Start position of search.

1

Examples

edit
    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