Help for this page

Select Code to Download


  1. or download this
    my @sentences = (
        'This is a sentence',
        'This is another sentence',
    );
    my $matches = grep /\bthis is\b/i , @sentences;
    
  2. or download this
    print Start_In_Common( 'This is a sentence', 'This is another sentence
    +' );
    sub Start_In_Common {
    ...
    }