Find
Searches for a sub-string of a character string and returns its position.
An optional parameter can be used to specify a starting position for the search.
Syntax
Find(element, set[, start])Cherche(element, set[, start])
element = sub-string or value to search for within the set
set = string being searched for the element
start = optional number indicating the position from which to start the search
set = string being searched for the element
start = optional number indicating the position from which to start the search
Remarks
If the element is not found, the result will be zero; otherwise, the element's position will be returned.
If start is not specified, the search will run from the beginning of the string.
If start is after the length of the set, the result will be (not found).
Examples
Find("an", "banana") = 2Find("an", "banana", 3) = 4Find("z", "banana") = 0