Separates a source string into two separate strings based on a supplied character index to define the dividing point.
0 |
String |
Input String |
The string to split. |
1 |
Integer |
Dividing Character Index |
The zero-based character of the split. |
2 |
String |
First String |
The first of two resulting strings. |
3 |
String |
Second String |
The second of two resulting strings. |
SUCCESS |
This command always succeeds. |
The index is zero-based, meaning it starts at zero. The index specifically defines which character will be the first character in the second string. Therefore, an index of zero results in an empty first string and a second string containing the source string.