Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    
        print "'$find' string found" if ($string =~ /$out/); # if found pr
    +int the string
    }
    
  2. or download this
    my $string = "ABCDEFGHIJKLMNOPCDEFQRST";
    
    my $find="CDEF";
    
    print "'$find' string found" if ($string =~ /$find/);