Help for this page

Select Code to Download


  1. or download this
    $str="himanshu.txt^@";
    if($str =~ /(\w+)\.(\w+)/) {
        $str = "$1.$2";
    }
    
  2. or download this
    if ($str =~ s/\0$//) {
        print "found NUL byte at the end of '$str'\n";
    }