Remove form feed characters

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

Lynn

Remove form feed characters

Postby Lynn » Tue Apr 06, 2004 6:04 am

I have a test file where the last line and the first line of each page read like this:

103 ER8639 LAS VEGAS NV89119
PAGE 2

I would like to remove the form feed (?) character (char 12). I can split the file at that character but I am having trouble removing the character.

Does anyone have any ideas?

User avatar
DataMystic Support
Site Admin
Posts: 2138
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Postby DataMystic Support » Tue Apr 06, 2004 1:59 pm

Just type

\f

in the search box.
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

RDSIDan
Posts: 3
Joined: Thu Apr 26, 2007 6:34 am

Won't remove form feed charcters

Postby RDSIDan » Tue May 08, 2007 1:35 am

I'm having a problem removing form feeds. I used the information noted here (seems simple enough), but I can't get it to work.

The trial output looks fine, but the actual file saved still has the form feeds in it. I've even tried replacing the form feeds with something like @@@ and then removing @@@, but the form feeds still end up in the saved output file.

Any help would be appreciated.

Dan

User avatar
DataMystic Support
Site Admin
Posts: 2138
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Postby DataMystic Support » Tue May 08, 2007 8:08 am

Hi Dan,

Is the output file going where you expect it to? Try double-clicking the output filename in the log of the status window.

What are you replacing with? Make sure the replacement is blank.
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

RDSIDan
Posts: 3
Joined: Thu Apr 26, 2007 6:34 am

Postby RDSIDan » Tue May 08, 2007 11:54 pm

Simon,

I figured out yesterday that I could replace the Form Feed (\f) with a carrage return (\n) and could get the results I needed.

Today I tried to recreate the problem I had to test out your comments, and it now it works just fine - go figure. I was using the Replace/Find Exactly filter, but then changed the action to 'Remove' instead of just replacing it with a blank.

That's the story of my life, if something breaks, it will only do it when you don't want it to. :?

Thanks,
Dan

User avatar
DataMystic Support
Site Admin
Posts: 2138
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Postby DataMystic Support » Wed May 09, 2007 5:26 pm

Ok, glad it is resolved. Perhaps your replace field was not blank? You can check this by right-clicking the field and turning on display of special characters.
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments


Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: No registered users and 3 guests