Question | Answer |
[String Properties]Returns the function that created the String object's prototype | constructor |
[String Properties]Returns the length of a string | length |
[String Properties]Allows you to add properties and methods to an object | prototype |
[String methods]Returns the character at the specified index | charAt() |
[String methods]Returns the Unicode of the character at the specified index | charCodeAt() |
[String methods]Joins two or more strings | concat() |
[String methods]Converts Unicode values to characters | fromCharCode() |
[String methods]Returns the position of the first found occurrence of a specified value in a string | indexOf() |
[String methods]Returns the position of the last found occurrence of a specified value in a string | lastIndexOf() |
[String methods]Searches for a match between a regular expression and a string | match() |
[String methods]Searches for a match between a substring (or regular expression) and a string | replace() |
[String methods]Searches for a match between a regular expression and a string | search() |
[String methods]Extracts a part of a string and returns a new string | slice() |
[String methods]Splits a string into an array of substrings | split() |
[String methods]Extracts the characters from a string | substr() |
[String methods]Extracts the characters from a string | substring() |
[String methods]Converts a string to lowercase letters | toLowerCase() |
[String methods]Converts a string to uppercase letters | toUpperCase() |
[String methods]Returns the primitive value of a String object | valueOf() |
[String methods][HTML Wrapper Methods]Creates an anchor | anchor() |
[String methods][HTML Wrapper Methods]Displays a string using a big font | big() |
[String methods][HTML Wrapper Methods]Displays a blinking string | blink() |
[String methods][HTML Wrapper Methods]Displays a string in bold | bold() |
[String methods][HTML Wrapper Methods]Displays a string using a fixed-pitch font | fixed() |
[String methods][HTML Wrapper Methods]Displays a string using a specified color | fontcolor() |
[String methods][HTML Wrapper Methods]Displays a string using a specified size | fontsize() |
[String methods][HTML Wrapper Methods]Displays a string in italic | italics() |
[String methods][HTML Wrapper Methods]Displays a string as a hyperlink | link() |
[String methods][HTML Wrapper Methods]Displays a string using a small font | small() |
[String methods][HTML Wrapper Methods]Displays a string with a strikethrough | strike() |
[String methods][HTML Wrapper Methods]Displays a string as subscript text | sub() |
[String methods][HTML Wrapper Methods]Displays a string as superscript text | sup() |