One possible approach:
>perl -wMstrict -le "my $str = 'Internal Computing Department'; ;; $str =~ s{ [^[:upper:]] }{}xmsg; ;; print qq{'$str'}; " 'ICD'
Update: Beyond that, maybe try what sweetblood suggests?
In reply to Re: Find First character of each word in a string
by AnomalousMonk
in thread Find First character of each word in a string
by kevyt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |