Yeah,

I saw that after I replied! His does a better job at sanitation than mine as I
had not thought of leading or trailing whitespace. :)

Jim

On Tue, 21 Jun 2005 10:43:18 -0400, Cormack, Ken wrote
> David was faster at the keyboard than you, Jim.  ;)  He suggested the
> following yesterday...
> 
> >     $lc_subject = s/^\s+//;  # Trim leading whitespace
> >     $lc_subject = s/\s+$//;  # Trim trailing whitespace
> >     $lc_subject = s/\s+/./g; # Collapse whitespace into periods


--
EsisNet.com Webmail Client

_______________________________________________
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list
[email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to