The date of birth.
#4

pawn Код:
stock split(const strsrc[], strdest[][], delimiter)
{
    new i, li;
    new aNum;
    new len;
    while(i <= strlen(strsrc))
    {
        if(strsrc[i] == delimiter || i == strlen(strsrc))
        {
            len = strmid(strdest[aNum], strsrc, li, i, 128);
            strdest[aNum][len] = 0;
            li = i+1;
            aNum++;
        }
        i++;
    }
    return 1;
sorry, i forgot.
Reply


Messages In This Thread
The date of birth. - by budelis - 29.08.2011, 18:17
Re: The date of birth. - by Bumbis - 29.08.2011, 18:35
Re: The date of birth. - by budelis - 29.08.2011, 19:03
Re: The date of birth. - by Bumbis - 29.08.2011, 19:50
Re: The date of birth. - by AndreT - 29.08.2011, 20:01

Forum Jump:


Users browsing this thread: 1 Guest(s)