Help for this page

Select Code to Download


  1. or download this
    $str="abcz123def456";
    
    ...
    $nextstr=join("",map{++$_;$_=substr($_,-1,1);} @arr);
    print "\nString: $str";
    print "\nNext:   $nextstr";
    
  2. or download this
    First interpret
    String: abcz123def456
    ...
    Second interpret
    String: abcz123def456
    Next:   bcda234efg567