Takes two values, the string and the sub string token. Returns the token removed and the string split into new sub-strings.
Number | Type | Compulsory | Default | Description |
---|---|---|---|---|
1 |
string |
Yes |
|
Input string |
2 |
string |
Yes |
|
token |
Return type: string array
String array containing the component parts of the string
SplitString('fred/bill/jill', 'bill') ['fred/', '/jill'] SplitString('fred/bill/bill/jill', 'bill') ['fred/', '/', '/jill']
|