Raised This Month: $ Target: $400
 0% 

find and delete :D


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sp@jk
Member
Join Date: May 2010
Location: Serbia
Old 12-28-2010 , 13:31   find and delete :D
Reply With Quote #1

Can I somehow find some word in a file and then delete the row where that word was
Sp@jk is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 12-28-2010 , 13:33   Re: find and delete :D
Reply With Quote #2

Read the file line-by-line and check each line if it contains that word.
Search for how to delete a line from a file.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 12-28-2010 , 21:06   Re: find and delete :D
Reply With Quote #3

This should get you started: http://forums.alliedmods.net/showthr...ight=file+read
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
Reply


Thread Tools
Display Modes

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 02:07.


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