Guest User

Untitled

a guest
Jun 24th, 2019
86
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const char *removeCommaFromString(char *str){
  2. int i,j;
  3. i = 0;
  4. while(i<strlen(str))
  5. {
  6.     if (str[i]=='\')
  7.    {
  8.        for (j=i; j<strlen(str); j++)
  9.            str[j]=str[j+1];
  10.    }
  11.    else i++;
  12. }
  13. return str;
  14. }
RAW Paste Data