Back to Strings
split
Split a string by a delimiter.
Syntax
split(s, delim) → Array of substrings
Backends
TypeScript
Description
Split a string by a delimiter.
Parameters
| Name | Description |
|---|---|
| s | Input string |
| delim | Delimiter string |
Returns
Array of substrings