Reading the entire file into memory then rewriting it will work on small files. But doesn't work very well on huge files because of the large amount of memory it will take up and the amount of time it takes to load those vectors. How will that program work on a multi-megabite file ?
>>Right, but I want to keep the spaces and everything else. Is there any way to do that?
And your last post doesn't do that either.