StringBuilder
:
object
Build a string efficiently
Method
public
StringBuilder
.
Constructor
(
int
capacity
=
null
)
public
void
StringBuilder
.
Append
(
value
)
Append text
public
bool
StringBuilder
.
AppendFile
(
path_or_blob
,
FileFormat
encoding
=
null
)
Append the contents of a text file
public
void
StringBuilder
.
AppendLine
(
value
=
null
)
Append text followed by a \n
public
virtual
int
object
.
Compare
(
value
)
Compares this object with another and returns (-1, 0, or 1)
public
char
StringBuilder
.
GetChar
(
int
index
)
Get char at index
public
virtual
Icon
object
.
GetIcon
Return a icon for this object
public
virtual
object
.
GetLayoutBlock
Return a layout inside a block
public
virtual
object
.
GetLayoutSpan
Return a layout inside a span
public
virtual
object
.
GetLayoutTip
Return a layout for the hint popup
public
virtual
object
.
GetSourceReference
Return a source reference for this object
public
virtual
void
object
.
GetTexSource
(
source
)
LaTeX source code for this object
public
void
StringBuilder
.
Remove
(
range
)
Remove a range of text
public
void
StringBuilder
.
Replace
(
x
,
y
,
range
=
null
)
Replace all instances of x with y
public
blob
StringBuilder
.
ToBlob
(
FileFormat
encoding
=
null
,
range
=
null
)
Get contents as an encoded blob
public
bool
StringBuilder
.
ToFile
(
path
,
FileFormat
encoding
=
null
)
Write contents to a text file
public
string
StringBuilder
.
ToString
(
range
=
null
)
Get contents as a string