Help for this page

Select Code to Download


  1. or download this
    if ( 0 == index $str1, $str2 )
    {
    ...
    {
        print "nomatch\n";
    }
    
  2. or download this
    if( $str1 =~ /^\Q$str2/ )
    {
    ...
    {
        print "nomatch\n";
    }