CountChars('~', string);stock CountChars(ch, str[], len = sizeof(str)){ new count; for(new i; i != len; i++) if(str[i] == ch) count++; return count;}