User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 456,452 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,623 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 474 | Replies: 2
Reply
Join Date: May 2008
Posts: 3
Reputation: akpaga is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
akpaga akpaga is offline Offline
Newbie Poster

manipulating text file

  #1  
Jun 18th, 2008
HI

I have a text file that contains lots of information.
what i want to do is take only the lines that contain a specific word say "location" which is at the start of the sentence and select all of them and export them to a new text file. How can it be done in asp.net.

thanks
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2008
Posts: 10
Reputation: hjast is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
hjast hjast is offline Offline
Newbie Poster

Re: manipulating text file

  #2  
Jun 18th, 2008
Yeah just parse the text.
Reply With Quote  
Join Date: May 2008
Posts: 3
Reputation: akpaga is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
akpaga akpaga is offline Offline
Newbie Poster

Re: manipulating text file

  #3  
Jun 18th, 2008
i am new to asp.net.

can you provide with example code.
Thanks
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ASP.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 2:06 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC