Re: Eliminating .txt file hard returns

Subject: Re: Eliminating .txt file hard returns
From: Richard Mateosian <xrm -at- EMAIL -dot- MSN -dot- COM>
Date: Wed, 21 Oct 1998 15:09:44 -0700

>Sub MAIN
>StartOfDocument
> EditReplace .Find = "^p^p", .Replace = "%%%", .ReplaceAll
> EditReplace .Find = "^p", .Replace = " ", .ReplaceAll
> EditReplace .Find = "%%%", .Replace = "^p^p", .ReplaceAll
>End Sub

This almost works, but the last line should be:

EditReplace .Find = "%%%", .Replace = "^p", .ReplaceAll

You don't want to wind up with ^p^p at the end of each paragraph.

Also, if the original has space at the ends of some lines - as such
files often do - your program produces extra spaces between some
pairs of words. ...RM


Richard Mateosian <srm -at- cyberpass -dot- net> www.cyberpass.net/~srm/
Review Editor, IEEE Micro Berkeley, CA

© Copyright 1998. All rights reserved.

From ??? -at- ??? Sun Jan 00 00:00:00 0000=




Previous by Author: Re: Eliminating .txt file hard returns -Reply
Next by Author: Re: Some Help With Re-phrasing
Previous by Thread: Re: Eliminating .txt file hard returns -Reply
Next by Thread: Eliminating .txt file hard returns


What this post helpful? Share it with friends and colleagues:


Sponsored Ads