* Split a string into substrings using the specified separator and return them as an array. * @param splitter An object that can split a string. * @param limit A value used to limit the number of elements returned in the array.
(splitter: { [Symbol.split](string: string, limit?: number): string[] }, limit?: number)
| 10 | * @param limit A value used to limit the number of elements returned in the array. |
| 11 | */ |
| 12 | split(splitter: { [Symbol.split](string: string, limit?: number): string[] }, limit?: number): [string, ...string[]] |
| 13 | |
| 14 | /** |
| 15 | * Split a string into substrings using the specified separator and return them as an array. |
no outgoing calls