|
|
|
|
|
|
![]() |
#5 |
a.k.a. Sparky
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
|
how about the index function?
Code:
#!/usr/bin/perl $string1 = "asdf asdf foofumbar asdf asdf"; $string2 = "asdf asdf foo.*bar asdf asdf"; $find = "foo.*bar"; print "string1: " . index($string1,$find) . "\n"; print "string2: " . index($string2,$find) . "\n";
__________________
SnapReplay.com a different way to share photos - iPhone & Android |
![]() |
![]() |
|
|