Implement String#split (#301)

This commit is contained in:
Max Graey
2018-10-18 20:05:35 +03:00
committed by Daniel Wirtz
parent 086d96b299
commit 711f73b15d
13 changed files with 7436 additions and 3257 deletions

View File

@ -310,6 +310,7 @@ declare class String {
padEnd(targetLength: i32, padString?: string): string;
replace(search: string, replacement: string): string;
repeat(count?: i32): string;
split(separator?: string, limit?: i32): string[];
toString(): string;
}