The string Object
| Properties |
Methods |
Description |
| |
|
|
| length |
anchor(name) |
Turns the string into a hyperlink anchor with a name value set to name |
| |
big() |
Modifies the text string to display big characters |
| |
blink() |
Modifies the text string to display blinking characters |
| |
bold() |
Modifies the text string to display characters to bold |
| |
charAt(index) |
Returns the character in the text string at the location specified by index |
| |
fixed() |
Modifies the text string to display fixed width characters |
| |
fontColor(color) |
Modifies the text string to display text in a color specified by color |
| |
fontSize(value) |
Modifies the text string to display text in the font size specified by the value parameter |
| |
indexOf(string,start) |
Searches the text string and returns the index value of the first occurance of the text string string |
| |
italics() |
Modifies the text string to display characters in italics |
| |
lastIndexOf(string,start) |
Searches the text string and returns the index value of the first occurance of the text string string. The search starts at the character indicated by the value start |
| |
link(href) |
Turns the text string into a hyperlink pointing to the URL containsed in href |
| |
small() |
Modifies the text string to display small characters |
| |
strike() |
Applies the strikeout characters to the text string |
| |
sub() |
Modifies the text string to display the subscript characters |
| |
substring(first,last) |
Returns a substring of characters from text string, starting with the character at the index number first and ending with character at the index last |
| |
sup()) |
Modifies the text string to display superscipt characters |
| |
toLowerCase() |
changes all characters in the text string to lowercase |
| |
toUpperCase() |
Changes all the characters in the text string to uppercase |