stringToArray
Splits a string to an array based on the delimiter passed.
Parameters
Examples
stringToArray('apple;banana;orange', ';');
// => ['apple', 'banana', 'orange']
Returns array of the split string.
Meta
- version: 1.0.0
- Source: string-to-array.ts