Separates the original into sub character strings, where the regular expression specifies the separator and the number defines the number of array items.
| split(String regex, Integer Number) | |||
|---|---|---|---|
| Arguments | String | regex | Regular expression |
| Integer | Quantity | Number of elements that are returned | |
| Return value | String | ||
| Formula | Result |
|---|---|
| ='bacadafah'.split('a',5) | [b, c, d, f, h] |
