Constructors
constructor
-
Parameters
-
Default value value: string = null
Accessors
length
- get length(): number
- set length(value: number): void
-
Returns number
-
Parameters
Returns void
Methods
appendCount
-
Parameters
-
item: any
-
Default value count: number = 1
appendFormat
-
Parameters
-
str: string
-
Rest ...values: any[]
charAt
- charAt(index: number): string
-
Parameters
Returns string
charCodeAt
- charCodeAt(index: number): number
-
Parameters
Returns number
insert
- insert(index: number, value: string, count?: number): StringBuilder
-
Parameters
-
index: number
-
value: string
-
Default value count: number = 1
join
- join(delimiter: string): string
-
Parameters
Returns string
remove
-
Parameters
-
startIndex: number
-
length: number
replace
- replace(searchValue: string, replaceValue: string): StringBuilder
-
Parameters
-
searchValue: string
-
replaceValue: string
setByIndex
- setByIndex(index: number, value: string): void
-
Parameters
-
index: number
-
value: string
Returns void