03.08.2017, 13:26
Quote:
Iterate through the whole sSubject and find the ones you need to change instead, that's how I would have done it at least. I don't know where you can get strlib from, the wiki page is being nab and it doesn't tell. But I'll show you how you can do it without str_replace.
Код:
for (new i = 0; i < sizeof(sSubject); i++) { if (sSubject[i] == 'ą') { sSubject[i] = 'a'; } else if (sSubject[i] == 'ć') { sSubject[i] = 'c'; } } |