Though, this removes all the newlines as well....my %seen; $text = join(' ', grep !$seen{$_}++, split(' ',$text));
-Blake
In reply to Re2: remove duplicates
by blakem
in thread remove duplicates
by cruelty
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |