Help for this page

Select Code to Download


  1. or download this
      $string =~ s/^(.*)(.{3})$/\U\1\L\2/;
    
  2. or download this
      $string =~ s/^(.*?)(.{1,3})$/\U$1\L$2/;