Documentation

Mistake on this page? Email us

Hierarchy

  • StringBuilder

Index

Constructors

Accessors

Methods

Constructors

constructor

  • new StringBuilder(initialValue?: string | null | undefined): StringBuilder
  • Parameters

    • Optional initialValue: string | null | undefined

    Returns StringBuilder

Accessors

isEmpty

isEmpty:

last

last:

Methods

append

  • append(text: string): void
  • Parameters

    • text: string

    Returns void

  • append(count: number, text?: string): void
  • Parameters

    • count: number
    • Optional text: string

    Returns void

appendLine

  • appendLine(text: string): void
  • Parameters

    • text: string

    Returns void

clear

  • clear(initialValue?: string): string
  • Parameters

    • Default value initialValue: string = ""

    Returns string

toString

  • toString(): string
  • Returns string