Detecting Blank Lines/Paragraphs

Hi All,
I’m reading text from a file and I need to detect the blank lines. The problem is that some of the “blank” lines turn out to have spaces in them so if I do the standard:

if theParagraph is "" then

end if

Some of the blank lines are not found. I’ve got a kludgy fix for this where I count the number of characters in the line and compare it to that number of spaces, but the processing takes a while on big files and I was wondering if there was something more direct that I’m missing. I feel like I’m missing something obvious. Thanks in advance for any suggestions.

Hi,

try


ignoring white space
	if theParagraph is "" then
		
	end if
end ignoring

Perfect. Thanks!