startsWith

Determines if a string ends with the specified string pattern.

Syntax

startsWith(string, beginPattern)

Parameters

string

Specifies the string to be checked.

beginPattern

Specifies the pattern to look for at the beginning of string.

Returns

Returns 1 if string begins with startPattern.