Figure out if the second character is a letter of the alphabet?
if (substr ($str, 1, 1) =~ /[[:alpha:]]/) { .. }
Convert that character to its uppercase form?
substr ($_, 1, 1) = uc substr ($_, 1, 1);
Abigail
In reply to Re: Comparing lower to upper case
by Abigail-II
in thread Comparing lower to upper case
by bobothesmart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |