Код:
stock strCharSplitEx(const string[], &index, seperator = ' ')
{
    new result[20], i = 0;
    if(index != 0) index++;
    while (string[index] && string[index] != seperator)
    {
        result[i++] = string[index++];
    }
    return result;
}