Home > @rushstack/node-core-library > IStringBuilder

IStringBuilder interface

An interface for a builder object that allows a large text string to be constructed incrementally by appending small chunks.


export interface IStringBuilder 


StringBuilder is the default implementation of this contract.


Method Description
append(text) Append the specified text to the buffer.
toString() Returns a single string containing all the text that was appended to the buffer so far.