Indexable
[index: number]: string
Methods
charAt
- charAt(pos: number): string
-
Parameters
Returns string
charCodeAt
- charCodeAt(index: number): number
-
Parameters
Returns number
concat
- concat(...strings: string[]): string
-
Parameters
-
Rest ...strings: string[]
Returns string
indexOf
- indexOf(searchString: string, position?: number): number
-
Parameters
-
searchString: string
-
Optional position: number
Returns number
lastIndexOf
- lastIndexOf(searchString: string, position?: number): number
-
Parameters
-
searchString: string
-
Optional position: number
Returns number
localeCompare
- localeCompare(that: string): number
-
Parameters
Returns number
replace
- replace(searchValue: string, replaceValue: string): string
- replace(searchValue: string, replaceValue: function): string
- replace(searchValue: RegExp, replaceValue: string): string
- replace(searchValue: RegExp, replaceValue: function): string
-
Parameters
-
searchValue: string
-
replaceValue: string
Returns string
-
Parameters
-
searchValue: string
-
replaceValue: function
-
- (substring: string, ...args: any[]): string
-
Parameters
-
substring: string
-
Rest ...args: any[]
Returns string
Returns string
-
Parameters
-
searchValue: RegExp
-
replaceValue: string
Returns string
-
Parameters
-
searchValue: RegExp
-
replaceValue: function
-
- (substring: string, ...args: any[]): string
-
Parameters
-
substring: string
-
Rest ...args: any[]
Returns string
Returns string
search
- search(regexp: string): number
- search(regexp: RegExp): number
-
Parameters
Returns number
-
Parameters
Returns number
slice
- slice(start?: number, end?: number): string
-
Parameters
-
Optional start: number
-
Optional end: number
Returns string
split
- split(separator: string, limit?: number): string[]
- split(separator: RegExp, limit?: number): string[]
-
Parameters
-
separator: string
-
Optional limit: number
Returns string[]
-
Parameters
Returns string[]
substr
- substr(from: number, length?: number): string
-
Parameters
-
from: number
-
Optional length: number
Returns string
substring
- substring(start: number, end?: number): string
-
Parameters
-
start: number
-
Optional end: number
Returns string
toLocaleLowerCase
- toLocaleLowerCase(): string
toLocaleUpperCase
- toLocaleUpperCase(): string