The date of birth.
#5

Or you could use sscanf, which is faster and much better than this split function.
pawn Код:
new day, month, year,
    DateString[11] = "04/02/1997";
sscanf(DateString, "p</>ddd", day, month, year);
 
//...
Code untested.
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)