Class StringBuilder

Index

Methods

Methods

public append(s: string)

Appends a string to the string builder

Parameters

  • s: string

public appendLine(s: string)

Appends a line to the string builder

Parameters

  • s: string

public clear()

Clears the contents of the string builder

public isEmpty(): boolean

Indicates wherever the string builder is empty

Returns

boolean

public toString(): string

Gets the contents of the string builder as a string

Returns

string