XP is just a number | |
PerlMonks |
Re: Perl Substrby rovf (Priest) |
on Jun 17, 2013 at 09:00 UTC ( [id://1039301]=note: print w/replies, xml ) | Need Help?? |
index tells you the position of $s2 in $s1. length tells you the length of $s2, which you need for telling substr where to start the extraction. With etc., you get a description of these functions.
-- Ronald Fischer <ynnor@mm.st>
In Section
Seekers of Perl Wisdom
|
|