Reply to removing a string from a file -- best method

Your name:

Reply:


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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация