go ahead... be a heretic | |
PerlMonks |
Re: Check if one string is a substring of another.by jbrugger (Parson) |
on Feb 14, 2006 at 10:18 UTC ( [id://530075]=note: print w/replies, xml ) | Need Help?? |
To add to the next comments, if you want to see what string is longer, use length length $st1 so you can check the longest one, as i understand you need that
"We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.
In Section
Seekers of Perl Wisdom
|
|