FIND

The FIND function returns the starting position of one string within another.

FIND(search-string, source-string, start-pos)

search-string: The string value to find.

source-string: The string value to search.

start-pos: An optional number value that specifies the position within the specified string at which the action should begin. start-pos must be greater than or equal to 1 and less than or equal to the number of characters in source-string. If start-pos is omitted, it is assumed to be 1.

Notes

Examples

=FIND(“e”, “where on earth”) returns 3 (“e” is the third character in the string “where on earth”).

=FIND(“e”, “where on earth”, 8) returns 10 (“e” in earth is the first “e” found starting from character 8, the “n” in “on”).

See also
EXACT
SEARCH