A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
I/O and Streams
Ignoring white space
Joined: Dec 21, 2004
Dec 21, 2004 06:45:00
I want to find the effective number of line in a .java file(excluding the comments and white spaces)
How to ignore the lines without any code(blank lines).
Joined: Oct 29, 2001
Dec 21, 2004 06:57:00
This sounds like homework. Why don't you show us what work you've done so far and we can discuss it.
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
How To Ask Questions On JavaRanch
subject: Ignoring white space
Preserve line space in the XSL
WA #1.....word association
character method of ContentHandler
Sudoku grid shading
Shhh! Choose your favorite colour
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014