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. |
Number | #localeCompare() |
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 | #toLocaleLowerCase() |
String | #toLocaleUpperCase() |
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 Number |
Samplestring.length; |
Method Details |
---|
anchor |
String anchor (nameAttribute) |
returns a copy of the string embedded within an anchor <A> tag set. |
Parameters {String} nameAttribute |
Returns String |
Samplestring.anchor(); |
big |
String big () |
returns a copy of the string embedded within an <BIG> tag set. |
Returns String |
Samplestring.big(); |
blink |
String blink () |
returns a copy of the string embedded within an <BLINK> tag set. |
Returns String |
Samplestring.blink(); |
bold |
String bold () |
returns a copy of the string embedded within an <B> tag set. |
Returns String |
Samplestring.bold(); |
charAt |
Number charAt (index) |
returns a character of the string. |
Parameters {Number} index |
Returns Number |
Samplestring.charAt(integer position); |
charCodeAt |
Number charCodeAt (index) |
returns a decimal code of the char in the string. |
Parameters {Number} index |
Returns Number |
Samplestring.charCodeAt(integer position); |
concat |
String concat (string2, [stringN]) |
returns a string that appends the parameter string to the string. |
Parameters {String} string2 {String} [stringN] |
Returns String |
Samplestring.concat(string); |
equals |
Boolean equals (other) |
returns a boolean that checks if the given string is equal to the string |
Parameters {String} other |
Returns Boolean |
Samplestring.equals(string); |
equalsIgnoreCase |
Boolean equalsIgnoreCase (other) |
returns a boolean that checks if the given string is equal to the string ignoring case |
Parameters {String} other |
Returns Boolean |
Samplestring.equalsIgnoreCase(string); |
fixed |
String fixed () |
returns a copy of the string embedded within an anchor <TT> tag set. |
Returns String |
Samplestring.fixed(); |
fontcolor |
String fontcolor (color) |
returns a copy of the string embedded within an <FONT> tag set, the color param is assigned the the color attribute. |
Parameters {String} color |
Returns String |
Samplestring.fontcolor(color); |
fontsize |
String fontsize (size) |
returns a copy of the string embedded within an <FONT> tag set, The size param is set to the SIZE attribute |
Parameters {Number} size |
Returns String |
Samplestring.fontsize(size); |
indexOf |
Number indexOf (searchValue, fromIndex) |
returns the found index of the given string in string. |
Parameters {String} searchValue {Number} fromIndex |
Returns Number |
Samplestring.indexOf(string,startPosition); |
italics |
String italics () |
returns a copy of the string embedded within an <I> tag set |
Returns String |
Samplestring.italics(); |
lastIndexOf |
Number lastIndexOf (searchValue, fromIndex) |
returns the found index of the given string in string from the end. |
Parameters {String} searchValue {Number} fromIndex |
Returns Number |
Samplestring.lastIndexOf(string,startPosition); |
link |
String link (hrefAttribute) |
returns a copy of the string embedded within an <A> tag set. |
Parameters {String} hrefAttribute |
Returns String |
Samplestring.link(url); |
localeCompare |
Number localeCompare () |
Replace with description |
Returns Number |
Samplevar s = "Have a nice day!"; application.output(s.localeCompare("Hello")); |
match |
Array match (regexp) |
returns an array of strings within the current string that matches the regexp. |
Parameters {RegExp} regexp |
Returns Array |
Samplestring.match(regexpr); |
replace |
String replace (regexp, newSubStr) |
returns a strings where all matches of the regexp are replaced. |
Parameters {RegExp} regexp {String} newSubStr |
Returns String |
Samplestring.replace(regexpr,replacestring); |
search |
Number search (regexp) |
returns a index where the first match is found of the regexp |
Parameters {RegExp} regexp |
Returns Number |
Samplestring.search(regexpr); |
slice |
String slice (beginSlice, [endSlice]) |
returns a substring of the string. |
Parameters {Number} beginSlice {Number} [endSlice] |
Returns String |
Samplestring.slice(start [,end]); |
small |
String small () |
returns a copy of the string embedded within an <SMALL> tag set. |
Returns String |
Samplestring.small(); |
split |
String split (separator, limit) |
returns an array of objects whose elements are segments of the current string. |
Parameters {String} separator {Number} limit |
Returns String |
Samplestring.split(delimiter [,limitInteger]); |
strike |
String strike () |
returns a copy of the string embedded within an <STRIKE> tag set. |
Returns String |
Samplestring.strike(); |
sub |
String sub () |
returns a copy of the string embedded within an <SUB> tag set. |
Returns String |
Samplestring.sub(); |
substr |
String substr (start, [length]) |
returns a substring of the string from the start with the number of chars specified. |
Parameters {Number} start {Number} [length] |
Returns String |
Samplestring.substr(start [,number of chars]); |
substring |
String substring (indexA, [indexB]) |
Returns a substring of the string from the start index until the end index. |
Parameters {Number} indexA {Number} [indexB] |
Returns String |
Samplestring.substring(start [,end]); |
sup |
String sup () |
returns a copy of the string embedded within an <SUP> tag set. |
Returns String |
Samplestring.sup(); |
toLocaleLowerCase |
String toLocaleLowerCase () |
Replace with description |
Returns String |
Samplevar s = "Have a nice day!"; application.output(s.toLocaleLowerCase()); |
toLocaleUpperCase |
String toLocaleUpperCase () |
Replace with description |
Returns String |
Samplevar s = "Have a nice day!"; application.output(s.toLocaleUpperCase()); |
toLowerCase |
String toLowerCase () |
returns a string with all lowercase letters of the current string. |
Returns String |
Samplestring.toLowerCase(); |
toUpperCase |
String toUpperCase () |
returns a string with all uppercase letters of the current string. |
Returns String |
Samplestring.toUpperCase(); |