my $start = 12; my $end = 27; #my $substring = substr $string, $start - 1, $end - 1; #Ooops, that should be: my $substring = substr $string, $start - 1, $end - ( $start - 1 );
In reply to Re: get substring when you know START and END???
by jwkrahn
in thread get substring when you know START and END???
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |