P is for Practical | |
PerlMonks |
Re: removing duplicate lettersby plaid (Chaplain) |
on Jun 18, 2000 at 23:50 UTC ( [id://18728]=note: print w/replies, xml ) | Need Help?? |
This seems to work:
The tr operator does what you want, except it squashes all duplicates, not just two. For reference though:
In Section
Seekers of Perl Wisdom
|
|