Help for this page

Select Code to Download


  1. or download this
    my $str='xjxexrxoxexnxexsxxx';
    my $idx = -1;
    ...
    $str_2nd .= substr( $str, $idx+=2, 1) while( $idx < length $str);
     
    print "\n$str_2nd\n";
    
  2. or download this
    my $str='xjxexrxoxexnxexsxxx';
     
    ...
    }
     
    print join '', @chars_2nd;