[REBOL] Re: Dealing with email subject lines greater than 65 characters...

2002-06-09 Thread Ed Dana

Bohdan or Rosemary Lechnowsky wrote:

> Ed,
>
> How about:
>
> all [
> mail/subject/66 = #" "
> remove at mail/subject 66
> ]
>
> This way, the most you will be losing is a space if this behavior ever 
> changes.
>
> Hope this helps!
>
It do.

Thanks.

-- 
Sincerely, | Life is pain, Highness. Anyone who says
Ed Dana| differently is selling something. 
Software Developer |   -- The Princess Bride.
1Ghz Athlon Amiga  | 
=== http://members.cox.net/edanaii/Home/Default.html ===




-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.




[REBOL] Re: Dealing with email subject lines greater than 65 characters...

2002-06-08 Thread Bohdan or Rosemary Lechnowsky

Ed,

How about:

all [
 mail/subject/66 = #" "
 remove at mail/subject 66
]

This way, the most you will be losing is a space if this behavior ever changes.

Hope this helps!

-Bo
Lechnowsky Technical Consulting

At 07:47 AM 6/8/02 -0700, you wrote:
>I've modified the REBOL MailSniff program to scan a mailbox and print the 
>subject line. The problem is, for subject lines over 65 characters in 
>length, REBOL appears to be inserting a space in the 66th position. Kinda 
>like this:
>
>"[REBOL] Dealing with email subject lines greater than 65 characte rs..."
>
>
>I've fixed it by inserting this line into the code:
>Join (Copy/Part Mail/Subject 65) (Copy/Part At Mail/Subject 67 100)
>
>It solves the problem of the moment, but if this bug ever gets fixed, then 
>I'm gonna loose the 66th character needlessly.
>
>Anyone got any better ideas on how to fix this? Just wondering...
>
>--
>Sincerely, | Ed Dana| Courage is fear holding on a 
>minute longer. Software Developer |   -- General George S. Patton 1Ghz 
>Athlon Amiga  | === 
>http://members.cox.net/edanaii/Home/Default.html ===
>
>
>
>--
>To unsubscribe from this list, please send an email to
>[EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.