|
Posted by lawpoop on 06/15/07 14:00
Hello all -
I have a situation where I want to remove a string from a file and
write it to disk before I do further work with it. It's a malformed
xlm document with a string that causes our parsing to choke. I know
exactly where the string occurs, and exactly what it is.
So what is the best method to remove the string from the file? I'm
used to working with an array of each file line from the file()
function, but that seems like it might be overkill in this situation.
Navigation:
[Reply to this message]
|