Returns a string representation of the value given as an argument.
String
A character string. Each character is adressable by index.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| Number | readonly | The length of the string. |
Methods
Returns a string consisting of this string enclosed in a <a> tag.
Returns a string consisting of this string enclosed in a <big> tag.
Returns a string consisting of this string enclosed in a <blink> tag.
Returns a string consisting of this string enclosed in a <b> tag.
Returns the character at the specified index.
Returns the Unicode value of the character at the given index.
If necessary, converts the one or more given values to strings.
Returns a string consisting of this string enclosed in a <tt> tag.
Returns a string consisting of this string enclosed in a <font> tag.
Returns a string consisting of this string enclosed in a <font> tag.
Returns a string created by concatenation one or more characters specified as ASCII values.
Returns the index within the string of the first occurrence of the specified string, starting the search at fromIndex if provided.
Returns a string consisting of this string enclosed in a <i> tag.
Returns the index within the string of the last occurrence of the specified value.
Returns a string consisting of this string enclosed in a <a> tag.
Performs a localized comparison of two strings.
Matches a string against a regular expression.
Extracts a substring of the given string and returns it as a new string.
Returns a string consisting of this string enclosed in a <small> tag.
Splits a string into a group of substrings, places those strings in an array, and returns the array.
Returns a string consisting of this string enclosed in a <strike> tag.
Returns a string consisting of this string enclosed in a <sub> tag.
Returns a string containing the characters beginning at the specified index, start, through the specified number of characters.
Returns a substring of the given string by extracting characters from indexA up to but not including indexB.
Returns a string consisting of this string enclosed in a <sup> tag.
Returns a new string which contains all the characters of the original string converted to lowercase (localized).
Returns a new string which contains all the characters of the original string converted to uppercase (localized).
Returns a new string which contains all the characters of the original string converted to lowercase.
Creates a string representation of this object that can be fed back to eval() to re-create an object. Works only with built-in classes.
Returns itself.
Returns a new string which contains all the characters of the original string converted to uppercase.
Returns itself.
Object of 65
Properties elsewhere that hold a String.
Parameter of 80
Method parameters that accept a String.
Return 83
Methods that return a String.