Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fkm_nbt/utils/StringBuilder.ts>StringBuilder

Node: https://www.npmjs.com/package/fkm-nbt Deno: https://deno.land/x/fkm_nbt
Latest
class StringBuilder
import { StringBuilder } from "https://deno.land/x/fkm_nbt@v0.1.0/utils/StringBuilder.ts";

Constructors

new
StringBuilder(initial?: string)

Properties

private
string: string

Methods

append(text: string | number | bigint): StringBuilder
delete(start: number, end: number): StringBuilder
deleteChar(index: number): StringBuilder
indexOf(str: string, fromIndex?): number
lastIndexOf(str: string, fromIndex?): number
length(): number
replace(
start: number,
end: number,
string: string,
): StringBuilder
setCharAt(index: number, text: string): void
substring(start: number, end?: number): string
toString(): string