Replacing д with ae
#3

Thats how id do it without testing or deeper thinking

pawn Код:
new pos = strfind(string, "д", false, 0);
while (pos > -1) {
    string[pos] = 'a';
    strins(string, "e", pos+1);
    pos = strfind(string, "д", false, pos-1);
}
Maybe pos+1 in strins needs to be just pos, the rest should work
Reply


Messages In This Thread
Replacing д with ae - by Doktor - 25.01.2010, 19:26
Re: Replacing д with ae - by tyler12 - 22.12.2011, 18:08
Re: Replacing д with ae - by Mauzen - 22.12.2011, 18:42

Forum Jump:


Users browsing this thread: 2 Guest(s)