String to search through
The characters to search for at the start of the string
Optionalposition: numberThe position at which searchString is expected to begin. Negative values clamp to
0. 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
startsWithfunction from the JavaScript Standard String object. It operates on grapheme clusters instead of UTF-16 code units.Determines whether the string begins with the characters of a specified string.