how to remove a character from cstring

i am using the following code to tokenize a character array

for(int i = 1; i <= count+1; i++)
{
name[i] = strtok(NULL, "(");

type[i] = strtok(NULL, ")");

b << type[i] << " " << name[i]; b << ";"<<endl;

cout << type[i] << name[i] << endl;

}

however in the name character string an unwanted "," also appears, that is not needed, please suggest a way to remove the "," from the characterstring, thanks
Topic archived. No new replies allowed.