replace commas with spaces

I am reading in a file but i need to replace the commas in the file with spaces without changing the txt file that was read. I was wondering if anyone had any ideas on how to do this?
When you read, you must store in a variable what you read. Change the value of the variable.

Perhaps you can show the code of your reading routine?
Topic archived. No new replies allowed.