> $lc_subject =~ s/\s/./g; > which will squish multiple spaces down to a single dot, this might make your > source file smaller as well and would handle tabs as well.
> Jim 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 Ken _______________________________________________ Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

