Checking for Blank Lines

I'm scanning through a text file line by line, and need to determine whether or not the current line is blank or not.  The problem is that these lines have a varying number of blank spaces.  I assume I need to check for an absence of numeric or alphabetic characters...
IsleOfViewAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
mark2150Connect With a Mentor Commented:
Try this:

IF LEN( TRIM( Text$ ) ) < 1 THEN (is blank)


0
 
BergJCCommented:
You could do something like this:

For x = 1 to Len(FileString)
     If Mid$(FileString, x, 1) <> " " then
          StringIsNotBlank = True
     End-if
next
0
 
IsleOfViewAuthor Commented:
Perfect!  Thanks.
0
All Courses

From novice to tech pro — start learning today.