JavascriptString ObjectString Object Properties
Properties |
Description |
Constructor |
A reference to the function that created the object |
Lenght |
The length of the string |
Prototype |
Allows you to add properties and methods to an object |
String Object method
Properties |
Description |
charAt () |
returns the character at the specified position. |
charCodeAt () |
returns the Unicode encoding of the character at the specified position. |
concat () | The
connection string. |
Big () |
displays the string in a large font. |
Blink () |
displays the flashing string. |
Bold () |
use bold to display the string. |
fixed () |
displays the string as a typewriter text. |
FontColor () |
displays the string using the specified color. |
fontsize () |
displays the string using the specified dimensions. |
fromCharCode () |
creates a string from character encoding. |
indexOf () |
retrieves a string. |
italics () |
use italic to display strings. |
lastIndexOf () |
the string is searched forward from the back. |
Link () |
displays the string as a link. |
Localecompare () |
compares two strings in a local-specific order. |
match () |
finds a match for one or more regular expressions. |
replace () |
replace the substring that matches the regular expression. |
Search () |
retrieves a value that matches a regular expression. |
Slice () |
extracts a fragment of a string and returns the extracted part in a new string. |
Small () |
use a small font size to display the string. |
Split () |
splits a string into an array of strings. |
strike () |
use strikethrough to display strings. |
Sub () |
displays the string as subscript. |
substr () |
extracts a specified number of characters from the starting index number in a string. |
substring () |
extracts the characters between two specified index numbers in a string. |
sup () |
displays the string as superscript. |
tolocalelowercase () |
converts the string to lowercase. |
tolocaleuppercase () |
converts the string to uppercase. |
toLowerCase () |
converts the string to lowercase. |
toUpperCase () |
converts the string to uppercase. |
Tosource () |
represents the source code for the object. |
toString () |
returns a string. |
Not finished ....
"Javascript--string Object"