09.05.2011, 11:57
(
Последний раз редактировалось kamilbam; 09.05.2011 в 15:43.
)
Hello!
I'm having little problem with the string.
What i want to do is to check if there is let's say '' char find out the pos of it and delete it.
Now this code works only for 1 char and i have no idea how to make it work for 2 chars.
I'm having little problem with the string.
What i want to do is to check if there is let's say '' char find out the pos of it and delete it.
Код:
stock DeleteChar(text[]) { for(new i = 0; text[i] != 0; i++) if(text[i] == ':D')text[i] = ' '; }