Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Returning true when parsing a blank line

From: al:bri:xtra at: 6-Feb-2001 18:02

doug wrote:
> After I have read in a file line by line, how do I check for blank lines?
Try: foreach Line read/lines %File.txt [ if empty? Line [ print "Found an empty line!" ] ] Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/