Help for this page

Select Code to Download


  1. or download this
    $ perl -le '$out = "+44"; $in=quotemeta $out; $out =~ s/$in//; print "
    +Result: |$in|$out|\n";'
    Result: |\+44||
    
  2. or download this
    $ perl -le '$in = "+44"; $out = $in; $out =~ s/\Q$in//; print "Result:
    + |$in|$out|\n";'
    Result: |+44||