22.12.2011, 18:42
Thats how id do it without testing or deeper thinking 
Maybe pos+1 in strins needs to be just pos, the rest should work

pawn Код:
new pos = strfind(string, "д", false, 0);
while (pos > -1) {
string[pos] = 'a';
strins(string, "e", pos+1);
pos = strfind(string, "д", false, pos-1);
}