StringToStars(str[]) { for(new i = 0, s = strlen(str); i < s; i++) { switch(str[i]) { case ' ', '-', '_': continue; default: str[i] = '*'; } } }