splitAtFirst
Splits the string at the first occurrence of the delimiter regex. If the delimiter does not match, returns an array with one element which is the input string. If the delimiter does match, returns an array with the portion of the string before the delimiter and the rest of the string.
Return
The string split by the first occurrence of the delimiter.
Parameters
value
The string.
regex
A delimiting regular expression.