Determines if a string ends with the specified string pattern.
startsWith(string, beginPattern)
Specifies the string to be checked.
Specifies the pattern to look for at the beginning of string.
Returns 1 if string begins with startPattern.