Help for this page

Select Code to Download


  1. or download this
    my $shorter = min( $lenString1, $lenString2 );
    my $longer  = max( $lenString1, $lenString2 );
    ...
    
    ## or shorter to longer
    my $et = 'DI' x $shorter . 'I' x ( $longer - $shorter );
    
  2. or download this
    ## longer to shorter
    my $et = 'D' x $longer . 'I' x $shorter;
    
    ## shorter to longer
    my $et = 'D' x $shorter . 'I' x $longer;
    
  3. or download this
    'the quick brown fox'
    'before the quick brown fox'