30.11.2012, 09:46
pawn Code:
stock strsplit(source[], first[], second[], split_pos)
{
strmid(source, first, 0, split_pos);
strins(first, "-", split_pos);
strmid(source, second, split_pos, strlen(source));
return 1;
}
Might have to play around with it, but it worked for me.