in reply to Re: Reversing string case
in thread Reversing string case
if ($string =~ /[A-Z]+/){ $string = lc $string; }else{ $string = uc $string; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Reversing string case
by moritz (Cardinal) on Aug 25, 2010 at 11:45 UTC |