03.10.2011, 18:52
There's no need for such a big function. I think you could try something like this:
pawn Код:
while((i = strfind(string, "-", false)) != -1) strdel(string, i, i+1);