-
text file to string and back to file again
i need to read a text file to a string. Add a line to the string and then output back to the text file.
The text file is a list of strings:
eg:
this is a test
this is a second test
this is what i need to add to the file
Please help.
I can read a single line from a text file to a string but i cant make it search through the whole text file!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks