The localeCompare() method compares two strings based on their locale (language-specific rules) and returns a value indicating their order:
Return value A negative number if referenceStr occurs before compareString; positive if the referenceStr occurs after compareString; 0 if they are equivalent.
codePointAt() method returns the Unicode code point value of the character at a specified index:
toLocaleUpperCase() and toLocaleLowerCase()
These methods are similar to toUpperCase() and toLowerCase(), but they convert the string to uppercase or lowercase based on the locale:
The search() method searches for a specified substring or regular expression within a string and returns the index of the first match:
The nomalize() method is used to normalize Unicode strings. It allows to convert different representations of the same character into a single, standardized form. This can help with string comparison, searching, and processing.
The toWellFormed() method returns a string where all lone surrogates of this string are replaced with the Unicode replacement character U+FFFD.
Final method is the at() method is used to access the character at a specific position within a string.