Native JavaScript class String. Includes GI extensions.
| Method Summary |
|---|
| native void | |
| native void | |
| native void | |
| String | Deprecated. Use jsx3.util.strTruncate() instead.
|
| String | Deprecated. Use String.replace() with regular expression syntax.
|
| String | Deprecated. Use jsx3.util.strTruncate() instead.
|
| boolean | Deprecated. Use jsx3.util.strEndsWith() instead.
|
| String | Deprecated. Use jsx3.util.strEscapeHTML() instead.
|
| String | Deprecated. Use jsx3.util.strDecodeBase64() instead.
|
| native static void | |
| native void | |
| native void | |
| native void | |
| native void | |
| native void | |
| native void | |
| native void | |
| String | Deprecated. Use jsx3.resolveURI(). |
| String | Deprecated. Use jsx3.util.strEncodeBase64() instead.
|
| native void | |
| native void | |
| String | Deprecated. Use jsx3.util.strTrim() instead.
|
| String | Deprecated. Create instances of jsx3.net.URI and use URI.resolve(). |
Deprecated. Use jsx3.util.strTruncate() instead.
trim a string down to a maximum length, put an ellipsis in the middle of the string if the string is too long, showing the beginning and ending of the string.
Parameters:
Returns:
Deprecated. Use String.replace() with regular expression syntax.
performs a global, case-sensitive replace of all instances of @strReplace with @strReplaceWith
Parameters:
strReplace – string to replace
strReplaceWith – string to replace with
Returns:
Deprecated. Use jsx3.util.strTruncate() instead.
truncates a string to @intLength and appends "..." to the end if the string is is actually truncated
Parameters:
intLength – length of the string (including the trailing ..., if necessary)
Returns:
Deprecated. Use jsx3.util.strEndsWith() instead.
Returns whether or not the string ends with @token
Parameters:
token – item to match on the String instance
Returns:
Deprecated. Use jsx3.util.strEscapeHTML() instead.
replaces the following four characters with their escaped equivalent: & < > "
Returns:
Deprecated. Use jsx3.util.strDecodeBase64() instead.
Decodes this string from its base64 equivalent.
Returns:
Deprecated. Use jsx3.resolveURI().
takes any string (assumed to be a valid URL) and prepends that string with the appropriate path information. This function
is used by the JSX framework to resolve file locations at runtime, and is always used by system methods that need to resolve
the location of a resource. For example, if the application is located at "/system/JSXAPPS/app1/" and a resource is requested
at "JSXAPPS/app1/components/appCanval.xml", this method would return "/system/JSXAPPS/app1/components/appCanval.xml"
Returns:
URL
See Also:
Deprecated. Use jsx3.util.strEncodeBase64() instead.
Encodes this string to its base64 equivalent.
Returns:
Deprecated. Use jsx3.util.strTrim() instead.
trims trailing and leading spaces (anything matching the regexp, \s) from a string
Returns:
Deprecated. Create instances of jsx3.net.URI and use URI.resolve().
Returns a url, strRelative, relative to the URL represented by this string. For example, if 'this' String is equal to "/perforce/DEV/gi/gi-dev/index.html" and @strRelative is equal to "JSXAPPS/app1/config.xml", then the result of this function would be: "/perforce/DEV/gi/gi-dev/JSXAPPS/app1/config.xml"
Parameters:
strRelative – URL to base relativity from
Returns:
See Also:
Copyright © 2001-2008, TIBCO Software Inc.