Class Index | File Index

Classes


Built-In Namespace String

Method Summary
Method Attributes Method Name and Description
 
endsWith(token, ignoreCase)
Check if the String ends with token
 
Escape double quotes, i.e.
 
Escape quotes, i.e.
 
htmlEncode(display, tabs)
HTML-Encode the supplied input Parameters: this/source {string} The text to be encoded.
 
replaceAll(token, newToken, ignoreCase)
ReplaceAll by Fagner Brack (MIT License) Replaces all occurrences of a substring in a string
 
startsWith(token, ignoreCase)
Check if the String starts with token
 
Un-escape double quotes, i.e.
 
Un-escape quotes, i.e.
Method Detail
endsWith(token, ignoreCase)
Check if the String ends with token
Defined in: StringExtensions.js.
Parameters:
token
ignoreCase

escapeDoubleQuotes()
Escape double quotes, i.e. replace quotes " with \"
Defined in: StringExtensions.js.

escapeQuotes()
Escape quotes, i.e. replace single quotes ' with \'
Defined in: StringExtensions.js.

htmlEncode(display, tabs)
HTML-Encode the supplied input Parameters: this/source {string} The text to be encoded.
Defined in: StringExtensions.js.
Parameters:
display
{boolean} (optional) The output is intended for display. If true (or undefined): * Tabs will be expanded to the number of spaces indicated by the 'tabs' argument. * Line breaks will be converted to
. If false: * Tabs and linebreaks get turned into &#____; entities just like all other control characters.
tabs
{number} (optional) The number of spaces to expand tabs to. (Ignored if the 'display' parameter evaluates to false or if tabs is not >= 0.) Default: undefined (do not replace tabs with spaces) version 2010-11-08 (modified: 2012-12-20)

replaceAll(token, newToken, ignoreCase)
ReplaceAll by Fagner Brack (MIT License) Replaces all occurrences of a substring in a string
Defined in: StringExtensions.js.
Parameters:
token
newToken
ignoreCase

startsWith(token, ignoreCase)
Check if the String starts with token
Defined in: StringExtensions.js.
Parameters:
token
ignoreCase

unescapeDoubleQuotes()
Un-escape double quotes, i.e. replace escaped quotes \" with "
Defined in: StringExtensions.js.

unescapeQuotes()
Un-escape quotes, i.e. replace escaped single quotes \' with '
Defined in: StringExtensions.js.

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Feb 26 2016 21:44:43 GMT+0100 (Mitteleuropäische Zeit)