Overview
This function splits one string into an array of strings, separated when the separator string is found. The separator is removed.Parameters
- String: The string that is split based on the separator.
- Separator: The character or string that splits the string.
Example
[mo, ta, a].
