Returns true if a string starts with a specified substring.

Usage

StartsWith(string, substring)

string (required)- The string to search.

substring (required)- The substring to search with.

StartsWith is case-sensitive. To create a search that is not case sensitive, you can combine StartsWith with Lower.

Example

StartsWith("Jane Doe", "Ja")
  • Returns TRUE

See Also


Was this page helpful?
Yes No