Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

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

From: edanaii::cox::net at: 8-Jun-2002 7:47

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 |