View Single Post
  #2 (permalink)  
Old 07-23-2007, 01:02 PM
JavaBean's Avatar
JavaBean JavaBean is offline
Moderator
 
Join Date: May 2007
Posts: 1,272
JavaBean is on a distinguished road
Read those lines and check if they start with a #. You can do that by using charAt() function of the String class. There should also be a method there (or inside Character class) to check if a character is a whitespace or not..
Reply With Quote