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