Raised This Month: $ Target: $400
 0% 

File line replacing


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
tm.
Member
Join Date: Apr 2010
Old 08-20-2010 , 13:47   File line replacing
Reply With Quote #1

Hey. Let's say you have a text file which contains this data:
Code:
Player1 somedata moredata
Player2 somedata moredata
Player3 somedata moredata
Player4 somedata moredata
How to modify the file to replace
Code:
Player1 somedata moredata
with
Code:
Player999 otherdata moredata
while keeping the rest the same. Basically:
Code:
Player999 otherdata moredata
Player2 somedata moredata
Player3 somedata moredata
Player4 somedata moredata
tm. is offline
 


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 22:01.


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