* String objects may be created by calling the constructor `new String()`. The `String` object wraps* object. For example, you can use the `String.length` property on a string primitive created from a* A similar result can be achieved using the `localeCompare` method inherited by `String` instances.* Although most common Unicode values can be represented in a fixed width system/with one number (as* is inadequate. Since the higher code point characters use two (lower value) "surrogate" numbers to* the index of the last character in a string called `stringName` is `stringName.length - 1`. If the* higher code points are represented by a pair of (lower valued) "surrogate" pseudo-characters which* The `charCodeAt` method returns a number indicating the ISO-Latin-1 codeset value of the character* Example 2: Fixing `charCodeAt` to handle non-Basic-Multilingual-Plane characters if their presence* This version might be used in for loops and the like when it is unknown whether non-BMP characters* Example 3: Fixing `charCodeAt` to handle non-Basic-Multilingual-Plane characters if their presence* Returns a number indicating whether a reference string comes before or after or is the same as the* Returns a number indicating whether a reference string comes before or after or is the same as the* "`Chapter 3.4.5.1`" is the first match and the first value remembered from `(Chapter \d+(\.\d)*)`.* If successful, search returns the index of the regular expression inside the string. Otherwise, it* expression `test` method); for more information (but slower execution) use `match` (similar to the* When found, `separator` is removed from the string and the substrings are returned in an array. If* The array has 12 elements: Jan / Feb / Mar / Apr / May / Jun / Jul / Aug / Sep / Oct / Nov / Dec /* In the following example, `split` looks for 0 or more spaces followed by a semicolon followed by 0* or more spaces and, when found, removes the spaces from the string. nameList is the array returned* If `start` is negative, `substr` uses it as a character index from the end of the string. If start* characters and `substrings`. The function call at the end of the example changes the string "Brave* itself. In most cases, this will produce the same result as `toLowerCase()`, but for some locales,* such as Turkish, whose case mappings do not follow the default case mappings in Unicode, there may* itself. In most cases, this will produce the same result as `toUpperCase()`, but for some locales,