SpreadJS Documentation
SEARCH
SpreadJS Documentation > Formula Reference > Formula Functions > SEARCH

This function finds one text string in another text string and returns the index of the starting position of the found text.

Syntax

SEARCH(string1,string2)

Arguments

The first argument is a string or cell reference of the text you are searching for and the second argument is a string, cell reference, or cell range of what you want to search.

Data Types

Accepts cell reference or string. Returns numeric data.

Examples

SEARCH(A2,A4:A9)

See Also