Help for this page

Select Code to Download


  1. or download this
    substr( $mask_input, $lastEnd, $start ) =~ tr[\x00-\xff][N];
    
  2. or download this
    # Assuming $lastEnd is initialized to 0 above
    
    ...
        my $replacement = 'N' x $length;
        substr( $mask_input, $lastEnd, $length, $replacement );
    }