SheetRocks
Documentation/Formulas/STARTSWITH

STARTSWITH

Returns TRUE if the text starts with search text, returns FALSE otherwise.

Syntax

STARTSWITH(text, search_text, [ignore_case])

Arguments

Argument Description Required
text The text in which to check if it starts with search_text. Required
search_text The text to check if the text starts with it. Required
ignore_case It determines if the search is to be case insensitive. Defaults to FALSE. Optional

Examples

Check if text starts with specific string

=STARTSWITH("Hello World", "Hello")
Result ⇒ true

Case sensitive check

=STARTSWITH("Hello World", "hello")
Result ⇒ false

Case insensitive check

=STARTSWITH("Hello World", "hello", true)
Result ⇒ true

Related Functions

Other Text functions:


← Back to Formula Reference