Skip to main content
Version: Streamsheets 3.0

SEARCH

Return the index of the search text within the text. The search starts at index.

Syntax

=SEARCH(TextToSearch, Text, [StartAt])

Arguments

NameTypeDescription
TextToSearchStringText to search for. Note: wildcards like * or ? are supported.
TextStringText to search inside.
StartAt (optional)NumberCharacter index to start search at.

Default value: 1

Return

TypeDescription
Number or #VALUEPosition, where the text is found, otherwise #VALUE.

Examples

FormulaResultComment
=SEARCH("me", "Search me now")
8
=SEARCH("a*c", "abc")
1