I am puzzled by the question. If $x is the string 'abcdefg', then
will assign to $tail the string 'cdefg', which sounds like what you want.my $tail = substr $x, 2;
the lowliest monk
In reply to Re: Remove substring
by tlm
in thread Remove substring
by mosh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |