viktor has asked for the wisdom of the Perl Monks concerning the following question:
Hi All,
I am new perl programmer may be its easy but I would like to know how I can extract the string after removing the substring e.g
$string="ATATTTATATTAT"; $removed=substr($string,0,3)
Now the $removed contains ATA but I want to extract the rest so that now my $string should contain TTTATATTAT.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Extract string after removing the substring
by toolic (Bishop) on Oct 24, 2012 at 15:28 UTC | |
Re: Extract string after removing the substring
by Athanasius (Archbishop) on Oct 24, 2012 at 15:31 UTC | |
by viktor (Acolyte) on Oct 24, 2012 at 15:37 UTC | |
Re: Extract string after removing the substring
by Kenosis (Priest) on Oct 24, 2012 at 17:29 UTC | |
by AnomalousMonk (Archbishop) on Oct 24, 2012 at 20:22 UTC | |
by Kenosis (Priest) on Oct 24, 2012 at 20:34 UTC | |
Re: Extract string after removing the substring
by kcott (Archbishop) on Oct 25, 2012 at 10:45 UTC |
Back to
Seekers of Perl Wisdom