StringBuilder Class
Defined in:
Module: Collection
/private/var/user/Documents/App/Hybrid/JavaScript/Siminov/Collection/StringBuilder.js:49
A mutable sequence of characters. The principal operations on a StringBuilder are the append methods. The append method always adds these characters at the end of the builder;
Item Index
Methods
Methods
append
(
-
value
Append adds given characters at the end of the builder.
Parameters:
-
value
StringCharacters need to be append.
clear
()
Clear buffered StringBuider. Remove all elements saved.
replaceAll
(
-
find
-
replace
Replace the string occurrence with the stirng
startsWith
(
Bool
-
str
Check whether string starts with the passed string or not
Parameters:
-
str
StringString to check whether it start with this or not
Returns:
Bool:
bool true/false True if it contains the string else false