# substr EXPR,OFFSET,LENGTH,REPLACEMENT my $n = 3; my $str1 = "1234567890\n"; my $str2 = substr($str1, $n); print $str1; # 1234567890 print $str2; # 4567890
In reply to Re: how do i delete the first n characters on a line
by jmcnamara
in thread How do I delete the first n characters on a line
by CyCliC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |