|
Hoping I understand this right, why don't you loop through the string, using strlen for the counter termination, and then using something simple like "if(str[i] == ' ') str2[i] = '*';" ? I did something similar to this in a previous project where I replaced a space with a _ for writing/reading files.
kirkl_uk
|