Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- @Nome: Removeer Espaços
- @Créditos: [iPs]SuYaNw
- */
- static stock RemoverEspacos(str[])
- {
- new out[128];
- for(new i; i != strlen(str); ++i)
- {
- if(str[i] == ' ') out[i] = str[i+1],strdel(str, i, i+1);
- out[i] = str[i];
- }
- return out;
- }
- //Uso:
- printf("%s", RemoverEspacos("Sou Muito Lindo"));
Advertisement
Add Comment
Please, Sign In to add comment