Help for this page

Select Code to Download


  1. or download this
    c:\@Work\Perl\monks>perl -wMstrict -le
    "my $s = '    a     ';
    ...
     print $-[0];
    "
    4
    
  2. or download this
    c:\@Work\Perl\monks>perl -wMstrict -le
    "my $s = 'xyzzyBARxkcdFOOyz';
    ...
    offset of first vowel: 6
    offset of last vowel: 14
    offset of first vowel: none