Raised This Month: $ Target: $400
 0% 

Remove a line from a file?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Desikac
Senior Member
Join Date: Apr 2010
Location: Serbia
Old 05-02-2011 , 18:47   Remove a line from a file?
Reply With Quote #1

I want to remove a line from a file which contains a specific string. I did it by doing an empty write_file on that line but that leaves a blank row in a file. How can I delete the line without leaving a blank row?
Desikac is offline
Send a message via MSN to Desikac Send a message via Skype™ to Desikac
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode