PDA

View Full Version : How would I find a blank line of text via "Find Text Line"?



Marker0077
07-07-2003, 03:38 AM
How would I find a blank line of text via "Find Text Line"?

Darryl
07-08-2003, 09:31 AM
Hi,

I couldn't find a method for accomplishing that with the Find Text Line action. I believe what you will need to do is create a loop to move through each line in the text file and then use a Get Text Line action. The contents of that variable would then be an empty string, "".

Hope that helps.

Worm
07-08-2003, 09:57 AM
You might try looking for Carriage Return / Line Field too.

#ASC_CR# with a value of 13
#ASC_LF# with a value of 10

Darryl
07-08-2003, 10:08 AM
I actually tried that method, however I couldn't get it to work, but I certainly could have been doing something wrong.

Marker0077
07-09-2003, 10:05 AM
Well, first of all I'm not exactly sure how I would code that.

Second of all, all I am looking to do is remove all blank lines of text in this text file. Perhaps there is a simpler way of going about doing this?

Worm
07-09-2003, 12:11 PM
Try this. (http://www.warmuskerken.com/ams/removeblankline.zip)

Marker0077
07-10-2003, 09:31 AM
I'm sorry, I do not know what I am supposed to do with this. I get what the text file is for, but I am not sure what the .am4 files are for or why you included .wav files with it?

Worm
07-10-2003, 10:39 AM
So Sorry, I didn't look to see where you were posting. When I read your post, I assumed it was for AutoMedia Studio.

I'll repost with a sample from SF /ubbthreads/images/icons/smile.gif

Marker0077
07-10-2003, 01:05 PM
I would appreciate that.

I am not the 1337 c0din m0nk that you folks are. /ubbthreads/images/icons/smile.gif

Marker0077
07-11-2003, 08:22 AM
ummm, please forgive me if I seem rude, but when will you be posting that?

Worm
07-11-2003, 09:44 AM
Sorry,

I haven't been at my machine that has SF on it lately.

I threw this together, but I haven't tested it thoroughly. It certainly should get you on the right path anyhow.

Download (http://www.warmuskerken.com/sf/deleteblanklines.sfa)

Darryl
07-11-2003, 09:55 AM
I just sent you a project file as well to take a look at.