Help for this page

Select Code to Download


  1. or download this
    !$array[$_] && $string =~ s/(?<=^.{$_})(.)/lc $1/e for 0 .. $#array;
    
  2. or download this
    !$array[$_] and substr( $string, $_, 1 ) = lc substr( $string, $_, 1 )
        for 0 .. $#array;