String to search through
The characters to be searched for at the start of this string.
The start position at which searchString is expected to be found (the index of
searchString's first character). Default is 0
True if the given characters are found at the beginning of the string, including when searchString is an empty string; otherwise, false.
This function mirrors the
startsWith
function from the JavaScript Standard String object. It handles Unicode code points instead of UTF-16 character codes.Determines whether the string begins with the characters of a specified string, returning true or false as appropriate.