$ perl -le' my $line = " This is the test line"; $line =~ /^\s+/ and print $+[ 0 ]; ' 1
In reply to Re: find the starting character position in a line
by jwkrahn
in thread find the starting character position in a line
by hifirock
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |