26.03.2011, 15:33
I make something like this:
Working in 90% cases.
Quote:
stock Pause(str[]) { new result[32]; new len = 0; len = strlen(str); if(strfind(str, "i", true) != -1 || strfind(str, "j", false) != -1 || strfind(str, "l", false) != -1) len += 1; if(len <= 9) result = "\t\t"; else result = "\t"; return result; } |