Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    
    eval "\$string =~ tr/$oldchars//d";
    print $string; #will print zz
    
  2. or download this
    $string =~ s/[$oldchars]//g;