Gives the length of the string. |
|
|
returns a copy of the string embedded within an anchor <A> tag set. |
|
returns a copy of the string embedded within an <BIG> tag set. |
|
returns a copy of the string embedded within an <BLINK> tag set. |
|
returns a copy of the string embedded within an <B> tag set. |
|
returns a character of the string. |
|
returns a decimal code of the char in the string. |
|
returns a string that appends the parameter string to the string. |
|
returns a string that appends the parameter string to the string. |
|
returns a boolean that checks if the given string is equal to the string |
|
returns a boolean that checks if the given string is equal to the string ignoring case |
|
returns a copy of the string embedded within an anchor <TT> tag set. |
|
returns a copy of the string embedded within an <FONT> tag set, the color param is assigned the the color attribute. |
|
returns a copy of the string embedded within an <FONT> tag set, The size param is set to the SIZE attribute |
|
returns a string created by using the specified sequence of Unicode values. |
|
Determines whether one string may be found within another string. |
|
returns the found index of the given string in string. |
|
returns a copy of the string embedded within an <I> tag set |
|
returns the found index of the given string in string from the end. |
|
returns a copy of the string embedded within an <A> tag set. |
|
returns an array of strings within the current string that matches the regexp. |
|
returns a new string where the matches of the given regexp are replaced by the return value of the function. |
|
returns a new string where the matches of the given regexp are replaced by newSubStr. |
|
returns a new string where the first match of the given substr is replaced by the return value of the function. |
|
returns a new string where the first match of the given substr is replaced by newSubStr. |
|
returns an index where the first match is found of the regexp |
|
returns a substring of the string. |
|
returns a substring of the string. |
|
returns a copy of the string embedded within an <SMALL> tag set. |
|
returns an array of objects whose elements are segments of the current string. |
|
returns an array of objects whose elements are segments of the current string. |
|
returns a copy of the string embedded within an <STRIKE> tag set. |
|
returns a copy of the string embedded within an <SUB> tag set. |
|
returns a substring of the string from the start with the number of chars specified. |
|
returns a substring of the string from the start with the number of chars specified. |
|
Returns a substring of the string from the start index until the end index. |
|
Returns a substring of the string from the start index until the end index. |
|
returns a copy of the string embedded within an <SUP> tag set. |
|
returns a string with all lowercase letters of the current string. |
|
returns a string with all uppercase letters of the current string. |
|
Returns the string stripped of whitespace from both ends. |
|
|
Gives the length of the string. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
|
|
returns a copy of the string embedded within an anchor <A> tag set. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
|
returns a copy of the string embedded within an <BIG> tag set. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
|
returns a copy of the string embedded within an <BLINK> tag set. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
|
returns a copy of the string embedded within an <B> tag set. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
|
returns a character of the string. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
Sample string.charAt(integer_position); |
|
|
|
|
returns a decimal code of the char in the string. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
Sample string.charCodeAt(integer_position); |
|
|
|
|
returns a string that appends the parameter string to the string. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
|
returns a string that appends the parameter string to the string. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
|
returns a boolean that checks if the given string is equal to the string |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
|
returns a boolean that checks if the given string is equal to the string ignoring case |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
Sample string.equalsIgnoreCase(string); |
|
|
|
|
returns a copy of the string embedded within an anchor <TT> tag set. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
|
returns a copy of the string embedded within an <FONT> tag set, the color param is assigned the the color attribute. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
|
returns a copy of the string embedded within an <FONT> tag set, The size param is set to the SIZE attribute |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
|
returns a string created by using the specified sequence of Unicode values. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
Sample String.fromCharCode(num)
// String.fromCharCode(num1,num2,num3) |
|
|
|
|
Determines whether one string may be found within another string. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
|
indexOf(searchValue, fromIndex) |
|
returns the found index of the given string in string. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
Sample string.indexOf(string,startPosition); |
|
|
|
|
returns a copy of the string embedded within an <I> tag set |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
|
lastIndexOf(searchValue, fromIndex) |
|
returns the found index of the given string in string from the end. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
Sample string.lastIndexOf(string,startPosition); |
|
|
|
|
returns a copy of the string embedded within an <A> tag set. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
|
localeCompare(otherString) |
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
Sample var s = "Have a nice day!";
application.output(s.localeCompare("Hello")); |
|
|
|
|
returns an array of strings within the current string that matches the regexp. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
|
replace(regexp, function) |
|
returns a new string where the matches of the given regexp are replaced by the return value of the function.
The function parameter is the function to be invoked to create the new substring (to put in place of the substring received from parameter #1). |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
Sample //the callback definition
function replacer(match, p1, p2, p3, offset, string){
// match is the matched substring
// p1 is non-digits, p2 digits, and p3 non-alphanumerics
// offset is the offset of the matched substring within the total string being examined
// string is the total string being examined
return [p1, p2, p3].join(' - ');
}
// using replace method with replacer callback
newString = "abc12345#$*%".replace(/([^\d]*)(\d*)([^\w]*)/, replacer); |
|
|
|
|
replace(regexp, newSubStr) |
|
returns a new string where the matches of the given regexp are replaced by newSubStr. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
Sample string.replace(regexp,newSubStr);
//var re = /(\w+)\s(\w+)/;
//var str = "John Smith";
//var newstr = str.replace(re, "$2, $1");
//application.output(newstr); |
|
|
|
|
replace(substr, function) |
|
returns a new string where the first match of the given substr is replaced by the return value of the function.
The function parameter is the function to be invoked to create the new substring (to put in place of the substring received from parameter #1). |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
Sample // the callback definition
function replacer(match){
return match.toUpperCase()
}
// using replace method with replacer callback
var newString = "abc".replace("a", replacer); |
|
|
|
|
replace(substr, newSubStr) |
|
returns a new string where the first match of the given substr is replaced by newSubStr. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
Sample string.replace(substr,newSubStr); |
|
|
|
|
returns an index where the first match is found of the regexp |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
|
returns a substring of the string. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
|
slice(beginSlice, endSlice) |
|
returns a substring of the string. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
|
returns a copy of the string embedded within an <SMALL> tag set. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
|
returns an array of objects whose elements are segments of the current string. |
|
|
Parameters Specifies the string which denotes the points at which each split should occur. If separator is an empty string, str is converted to an array of characters. |
|
Optional integer specifying a limit on the number of splits to be found. |
|
|
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
Sample var myString = 'Hello 1 word. Sentence number 2.';
var splits = myString.split(new RegExp(/(\d)/), 2);
application.output(splits); //prints [Hello , 1] |
|
|
|
|
returns an array of objects whose elements are segments of the current string. |
|
|
Parameters Specifies the string which denotes the points at which each split should occur. If separator is an empty string, str is converted to an array of characters. |
|
Optional integer specifying a limit on the number of splits to be found. |
|
|
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
Sample var myString = 'Hello 1 word. Sentence number 2.';
var splits = myString.split(' ');
application.output(splits); |
|
|
|
|
returns a copy of the string embedded within an <STRIKE> tag set. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
|
returns a copy of the string embedded within an <SUB> tag set. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
|
returns a substring of the string from the start with the number of chars specified. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
Sample string.substr(start, number_of_chars); |
|
|
|
|
returns a substring of the string from the start with the number of chars specified. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
Sample string.substr(start, number_of_chars); |
|
|
|
|
Returns a substring of the string from the start index until the end index. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
Sample string.substring(start, end); |
|
|
|
|
substring(indexA, indexB) |
|
Returns a substring of the string from the start index until the end index. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
Sample string.substring(start, end); |
|
|
|
|
returns a copy of the string embedded within an <SUP> tag set. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
Sample var s = "Have a nice day!";
application.output(s.toLocaleLowerCase()); |
|
|
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
Sample var s = "Have a nice day!";
application.output(s.toLocaleUpperCase()); |
|
|
|
|
returns a string with all lowercase letters of the current string. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
|
returns a string with all uppercase letters of the current string. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
|
Returns the string stripped of whitespace from both ends. |
|
|
Supported Clients SmartClient,WebClient,NGClient,MobileClient |
|
|
|
|
|