Help for this page

Select Code to Download


  1. or download this
    my $months = 'AugAugAugAugAugAugAugAugAugAugAugAug';
    my $month = 8;
    printf '%s', substr($months, $month*3, 3);
    
  2. or download this
    my $month = 8;
    printf '%s', substr('Aug'x12, $month*3, 3);