FindOneOf - script and chart function

FindOneOf() searches a string to find the position of the occurrence of any character from a set of provided characters. The position of the first occurrence of any character from the search set is returned unless a third argument (with a value greater than 1) is supplied. If no match is found, 0 is returned.


FindOneOf(text, char_set[, count])

Return data type: integer


Argument Description
text The original string.
char_set A set of characters to search for in text.
count Defines which occurrence of any of the character to search for. For example, a value of 2 searches for the second occurrence.

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?