use strict; use warnings; my $string = 'athis'; print $string =~ s/(.)(.)/$1.uc$2/egr;
In reply to Re^3: Print the string out in alternating upper and lowercase letters LiKe tHiS.
by BillKSmith
in thread Print the string out in alternating upper and lowercase letters LiKe tHiS.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |