|
-
Reading and skipping blank line from a file...
Hi all,
first I'd like to thank Mike for the help with the last post ;-)
Then here I go with the next problem :-)
Now I know How read the whole content of a text file and store it
into a variable. But what I should do is while reading the file, skip all
the blank line in it. Ex:
This is text
Text again.
How to skip the blank line between the Text ?
I have just switched from perl to Java so I'm not enought experienced.
Thank for your Help,
Gabriele
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