Use this function to check if a string starts with a specific fragment. A true or false value is returned as output.
This function performs a case insensitive check.
Argument
For more information on arguments, see the table below.
Argument | Type | Description |
---|---|---|
Text | Required | The text to examine in search of the Fragment . |
Fragment | Required | The text to search for in Text . |
Examples
StartsWith("Blueberry”, "blue")
: TrueStartsWith("Blueberry”, "Berry")
: FalseStartsWith("Blueberry”, "Raspberry")
: FalseStartsWith("My favorite jam is Apricot”, "Apricot")
: False
Updated about a year ago