\\
| Property Summary | |
|---|---|
| Number | length Gives the length of the string. |
| Method Summary | |
|---|---|
| String | anchor(nameAttribute) returns a copy of the string embedded within an anchor <A> tag set. |
| String | big() returns a copy of the string embedded within an <BIG> tag set. |
| String | blink() returns a copy of the string embedded within an <BLINK> tag set. |
| String | bold() returns a copy of the string embedded within an <B> tag set. |
| Number | charAt(index) returns a character of the string. |
| Number | charCodeAt(index) returns a decimal code of the char in the string. |
| String | concat(string2, stringN) returns a string that appends the parameter string to the string. |
| Boolean | equals(other) returns a boolean that checks if the given string is equal to the string |
| Boolean | equalsIgnoreCase(other) returns a boolean that checks if the given string is equal to the string ignoring case |
| String | fixed() returns a copy of the string embedded within an anchor <TT> tag set. |
| String | fontcolor(color) returns a copy of the string embedded within an <FONT> tag set, the color param is assigned the the color attribute. |
| String | fontsize(size) returns a copy of the string embedded within an <FONT> tag set, The size param is set to the SIZE attribute |
| Number | indexOf(searchValue, fromIndex) returns the found index of the given string in string. |
| String | italics() returns a copy of the string embedded within an <I> tag set |
| Number | lastIndexOf(searchValue, fromIndex) returns the found index of the given string in string from the end. |
| String | link(hrefAttribute) returns a copy of the string embedded within an <A> tag set. |
| Array | match(regexp) returns an array of strings within the current string that matches the regexp. |
| String | replace(regexp, newSubStr) returns a strings where all matches of the regexp are replaced. |
| Number | search(regexp) returns a index where the first match is found of the regexp |
| String | slice(beginSlice, endSlice) returns a substring of the string. |
| String | small() returns a copy of the string embedded within an <SMALL> tag set. |
| String | split(separator, limit) returns an array of objects whose elements are segments of the current string. |
| String | strike() returns a copy of the string embedded within an <STRIKE> tag set. |
| String | sub() returns a copy of the string embedded within an <SUB> tag set. |
| String | substr(start, length) returns a substring of the string from the start with the number of chars specified. |
| String | substring(indexA, indexB) Returns a substring of the string from the start index until the end index. |
| String | sup() returns a copy of the string embedded within an <SUP> tag set. |
| String | toLowerCase() returns a string with all lowercase letters of the current string. |
| String | toUpperCase() returns a string with all uppercase letters of the current string. |
| Property Details |
|---|
length |
Gives the length of the string. |
| Returns |
| External links https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/length |
Samplestring.length; |
| Method Details |
|---|
anchor |
| Stringanchor(nameAttribute) |
returns a copy of the string embedded within an anchor <A> tag set. |
| Parameters nameAttribute |
| Returns |
| External links https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/anchor |
Samplestring.anchor(); |
big |
| Stringbig() |
returns a copy of the string embedded within an <BIG> tag set. |
| Returns |
| External links https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/big |
Samplestring.big(); |
blink |
| Stringblink() |
returns a copy of the string embedded within an <BLINK> tag set. |
| Returns |
| External links https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/blink |
Samplestring.blink(); |
bold |
| Stringbold() |
returns a copy of the string embedded within an <B> tag set. |
| Returns |
| External links https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/bold |
Samplestring.bold(); |
charAt |
| NumbercharAt(index) |
returns a character of the string. |
| Parameters index |
| Returns |
| External links https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/charAt |
Samplestring.charAt(integer position); |
charCodeAt |
| NumbercharCodeAt(index) |
returns a decimal code of the char in the string. |
| Parameters index |
| Returns |
| External links https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/charCodeAt |
Samplestring.charCodeAt(integer position); |
concat |
| Stringconcat(string2, stringN) |
returns a string that appends the parameter string to the string. |
| Parameters string2 |
| Returns |
| External links https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/concat |
Samplestring.concat(string); |
equals |
| Booleanequals(other) |
returns a boolean that checks if the given string is equal to the string |
| Parameters other |
| Returns |
Samplestring.equals(string); |
equalsIgnoreCase |
| BooleanequalsIgnoreCase(other) |
returns a boolean that checks if the given string is equal to the string ignoring case |
| Parameters other |
| Returns |
Samplestring.equalsIgnoreCase(string); |
fixed |
| Stringfixed() |
returns a copy of the string embedded within an anchor <TT> tag set. |
| Returns |
| External links https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/fixed |
Samplestring.fixed(); |
fontcolor |
| Stringfontcolor(color) |
returns a copy of the string embedded within an <FONT> tag set, the color param is assigned the the color attribute. |
| Parameters color |
| Returns |
| External links https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/fontcolor |
Samplestring.fontcolor(color); |
fontsize |
| Stringfontsize(size) |
returns a copy of the string embedded within an <FONT> tag set, The size param is set to the SIZE attribute |
| Parameters size |
| Returns |
| External links https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/fontsize |
Samplestring.fontsize(size); |
indexOf |
| NumberindexOf(searchValue, fromIndex) |
returns the found index of the given string in string. |
| Parameters searchValue |
| Returns |
| External links https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/indexOf |
Samplestring.indexOf(string,startPosition); |
italics |
| Stringitalics() |
returns a copy of the string embedded within an <I> tag set |
| Returns |
| External links https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/italics |
Samplestring.italics(); |
lastIndexOf |
| NumberlastIndexOf(searchValue, fromIndex) |
returns the found index of the given string in string from the end. |
| Parameters searchValue |
| Returns |
| External links https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/lastIndexOf |
Samplestring.lastIndexOf(string,startPosition); |
link |
| Stringlink(hrefAttribute) |
returns a copy of the string embedded within an <A> tag set. |
| Parameters hrefAttribute |
| Returns |
| External links https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/link |
Samplestring.link(url); |
match |
| Arraymatch(regexp) |
returns an array of strings within the current string that matches the regexp. |
| Parameters regexp |
| Returns |
| External links https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/match |
Samplestring.match(regexpr); |
replace |
| Stringreplace(regexp, newSubStr) |
returns a strings where all matches of the regexp are replaced. |
| Parameters regexp |
| Returns |
| External links https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/replace |
Samplestring.replace(regexpr,replacestring); |
search |
| Numbersearch(regexp) |
returns a index where the first match is found of the regexp |
| Parameters regexp |
| Returns |
| External links https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/search |
Samplestring.search(regexpr); |
slice |
| Stringslice(beginSlice, endSlice) |
returns a substring of the string. |
| Parameters beginSlice |
| Returns |
| External links https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/slice |
Samplestring.slice(start [,end]); |
small |
| Stringsmall() |
returns a copy of the string embedded within an <SMALL> tag set. |
| Returns |
| External links https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/small |
Samplestring.small(); |
split |
| Stringsplit(separator, limit) |
returns an array of objects whose elements are segments of the current string. |
| Parameters separator |
| Returns |
| External links https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/split |
Samplestring.split(delimiter [,limitInteger]); |
strike |
| Stringstrike() |
returns a copy of the string embedded within an <STRIKE> tag set. |
| Returns |
| External links https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/strike |
Samplestring.strike(); |
sub |
| Stringsub() |
returns a copy of the string embedded within an <SUB> tag set. |
| Returns |
| External links https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/sub |
Samplestring.sub(); |
substr |
| Stringsubstr(start, length) |
returns a substring of the string from the start with the number of chars specified. |
| Parameters start |
| Returns |
| External links https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/substr |
Samplestring.substr(start [,number of chars]); |
substring |
| Stringsubstring(indexA, indexB) |
Returns a substring of the string from the start index until the end index. |
| Parameters indexA |
| Returns |
| External links https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/substring |
Samplestring.substring(start [,end]); |
sup |
| Stringsup() |
returns a copy of the string embedded within an <SUP> tag set. |
| Returns |
| External links https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/sup |
Samplestring.sup(); |
toLowerCase |
| StringtoLowerCase() |
returns a string with all lowercase letters of the current string. |
| Returns |
| External links https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/toLowerCase |
Samplestring.toLowerCase(); |
toUpperCase |
| StringtoUpperCase() |
returns a string with all uppercase letters of the current string. |
| Returns |
| External links https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/toUpperCase |
Samplestring.toUpperCase(); |