What's the quickest way to test that the shorter string is the substring of the longer one?my $s1 = 'foofoo'; my $s2 = 'foo'
In reply to Check if one string is a substring of another. by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |