Of course, at this point we should perhaps consider ucfirst and fc...perl -CO -Mutf8 -E 'say map { /\P{Cased}/ ? $_ : $c++ % 2 ? lc : uc } "comme ça" =~ /(\X)/g'
In reply to Re^2: Print the string out in alternating upper and lowercase letters LiKe tHiS.
by Anonymous Monk
in thread Print the string out in alternating upper and lowercase letters LiKe tHiS.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |