At 3:51 pm -0800 19/1/02, Paul Berkowitz Wrote:
>On 1/19/02 3:25 PM, "Allen Watson" <[EMAIL PROTECTED]> wrote:
>
>    (* For some reason, received headers sometimes break into two lines, so
>     I have to paste them together. Continuation lines start with a space. *)
>     set hdrs to my searchReplace(hdrs, (return & " "), " ")
>
>
>Allen,
>
>Have you tested this thoroughly? Barry was correct when he said that 
>headers with multiple item break with white space , not space, at 
>the beginning of the line. Entourage itself uses a tab, but other 
>email clients may use other white-space: space, multiple spaces, and 
>tabs being the most common. (It's even likely that tabs may get 
>converted into multiple spaces when the message is sent.) I think 
>you need to get rid of all of them.
>
>--
>Paul Berkowitz

The multiple spaces won't cause a problem. I think he only has to 
detect a return/space or a return/tab & delete the return character. 
All he wants is to get the headers into one paragraph each - the 
extra spaces or tabs won't matter if they're within the paragraph 
since he is catching the date portion by looking for the semicolon 
separator.

-- 
=Barry Wainwright=
<http://www.barryw.net>

-- 
To unsubscribe:                     
<mailto:[EMAIL PROTECTED]>
archives:       
<http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
old-archive:       
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

Reply via email to