This function mirrors the includes function from the JavaScript Standard String object. It operates on grapheme clusters instead of UTF-16 code units.
includes
Performs a case-sensitive search to determine if searchString is found in string.
String to search through
String to search for
Optional
Position within the string to start searching. Negative values clamp to 0. Default is 0
0
True if the search string is found, false if it is not
This function mirrors the
includesfunction from the JavaScript Standard String object. It operates on grapheme clusters instead of UTF-16 code units.Performs a case-sensitive search to determine if searchString is found in string.