Hierarchy

  • StringBuilder

Index

Constructors

constructor

  • Parameters

    • Default value value: string = null

    Returns StringBuilder

Accessors

isEmpty

  • get isEmpty(): boolean
  • Returns boolean

length

  • get length(): number
  • set length(value: number): void
  • Returns number

  • Parameters

    • value: number

    Returns void

Methods

append

appendCount

  • Parameters

    • item: any
    • Default value count: number = 1

    Returns StringBuilder

appendFormat

  • Parameters

    • str: string
    • Rest ...values: any[]

    Returns StringBuilder

appendLine

appendLines

appendThese

charAt

  • charAt(index: number): string
  • Parameters

    • index: number

    Returns string

charCodeAt

  • charCodeAt(index: number): number
  • Parameters

    • index: number

    Returns number

clear

  • clear(): void
  • Returns void

dispose

  • dispose(): void
  • Returns void

insert

  • insert(index: number, value: string, count?: number): StringBuilder
  • Parameters

    • index: number
    • value: string
    • Default value count: number = 1

    Returns StringBuilder

join

  • join(delimiter: string): string
  • Parameters

    • delimiter: string

    Returns string

remove

  • Parameters

    • startIndex: number
    • length: number

    Returns StringBuilder

replace

  • replace(searchValue: string, replaceValue: string): StringBuilder
  • Parameters

    • searchValue: string
    • replaceValue: string

    Returns StringBuilder

setByIndex

  • setByIndex(index: number, value: string): void
  • Parameters

    • index: number
    • value: string

    Returns void

toString

  • toString(): string
  • Returns string

Generated using TypeDoc