Built-In Namespace String
Method Attributes | Method Name and Description |
---|---|
<static> |
String.format(string)
Convenience function that will format a string with dynamic variables. |
Function that is used to format a sentence to camel case. |
|
Function that is used to turn a string that is in camel case format to a Normal sentence format. |
|
trim()
Function that is used to trim the white spaces from the beginning and end of the string. |
Method Detail
<static>
String.format(string)
Convenience function that will format a string with dynamic variables.
Defined in: software.bytepushers.base.app.js.
Author: Tonté Pouncil.
- Parameters:
- {...string} string
- - first argument is the string to be formatted. The remaining arguments are the format items (e.g. "{0}")
- Returns:
- String The value of the string after it has been formatted.
toCamelCase()
Function that is used to format a sentence to camel case. (e.g. Hello world => helloWorld).
Defined in: software.bytepushers.base.app.js.
Author: Tonté Pouncil.
- Returns:
- String The value of the string after it has been formatted to camel case.
toNormalCase()
Function that is used to turn a string that is in camel case format to a Normal sentence format. (e.g. helloWorld => Hello World)
Defined in: software.bytepushers.base.app.js.
Author: Tonté Pouncil.
- Returns:
- String The value of the string after it has been formatted to a normal sentence format.
trim()
Function that is used to trim the white spaces from the beginning and end of the string.
Defined in: software.bytepushers.base.app.js.
Author: Tonté Pouncil.
- Returns:
- String The value of the string after it has been trimmed.