Separates the original into sub character strings, where the regular expression specifies the separator.
| split(String regex) | ||||
|---|---|---|---|---|
| Argument | String | regex | Regular expression for the delimiting character string | |
| Return value | List<String> | |||
| Formula | Result |
|---|---|
| ='bacad'.split('a') | [b, c, d] |
