StringBuilder

StringBuilder

new StringBuilder()

Source:
. Rebuild of the C# StringBuilder

Members

(readonly) Length

Source:
. Get the String Length

Methods

Append(str)

Source:
. Add a character
Parameters:
Name Type Description
str string Char

Clear()

Source:
. Clear the string, Allows to be used elsewhere

Insert(pos, str)

Source:
. Insert a character to the string
Parameters:
Name Type Description
pos number Position in string
str string Character to add

Remove(startIndex, length)

Source:
. Remove a chunk of the string
Parameters:
Name Type Description
startIndex number Starting Index
length number Length

Set(pos, char)

Source:
. Set Index pos to char
Parameters:
Name Type Description
pos number Position in string
char string Character to add

ToString() → {string}

Source:
. Convert to a String
Returns:
Compiled String
Type
string