Help for this page

Select Code to Download


  1. or download this
    $n=2;    # x-1
    $chr="e";
    $rep="1";
    $a="Terence and Philip are sweet";
    while ($a=~s/^((?:.*?$chr){$n})(.*?)$chr/$1$2$rep/) {}
    
  2. or download this
    1 while ($a=~s/^((?:.*?$chr){$n})(.*?)$chr/$1$2$rep/);