Don't ask to ask, just ask | |
PerlMonks |
Re: number of unique characters in a stringby Limbic~Region (Chancellor) |
on Mar 01, 2003 at 03:54 UTC ( [id://239636]=note: print w/replies, xml ) | Need Help?? |
Here is OWTDI - but I bet by the time I finish this post, some other monk will come up with a faster, more Perlish way.
You will want to modify if you do not want to count spaces or if you want to be case insensitive Hope this helps - happy hacking - L~R Update:Dropped un-needed @array in grep
In Section
Seekers of Perl Wisdom
|
|