Class JekString
Defined in: JekFk.js.
Constructor Summary
Method Summary
appendFormat(string)
Allows you to define a tokenized string and pass an arbitrary number of arguments to replace the tokens, and append to this character sequence.
Constructor Detail
new JekString(string[optional])
Faster javascript StringBuilder implementation
- Parameters:
- {String} string[optional]
- default value = ""
- Returns:
- {JekString}
Method Detail
append(string)
: JekString
Appends the specified string to this character sequence.
Parameters:
{String} | string |
Returns:
{JekString} |
appendFormat(string)
: JekString
Allows you to define a tokenized string and pass an arbitrary number of
arguments to replace the tokens, and append to this character sequence.
Example:
JekString.appendFormat('Lorem {0} dolor {1} amet','ipsum','sit') -> "Lorem ipsum dolor sit amet"
Parameters:
{String} | string | |
{String} | args... |
Returns:
{JekString} |