From the MSDN documentation for the split function :
By default, or when Limit is -1, the Split function splits the input string each time a separator string appears and returns substrings in the array. When the Limit parameter is greater than zero, the Split function breaks the string at the first occurrence of the Limit -1 separator and returns an array with the resulting substrings.
If you want to divide only by the first separator, you must specify 2 as the maximum number of parts.
Split(expression, [ delimiter, [ limit, [ compare ]]])
Stephen Tetreault
source share