balakrishnan has asked for the wisdom of the Perl Monks concerning the following question:
in the above, i need to find out a newline character position which is previous to 10th character of $str.$str="1\n234\n1234567890"; $pos=10;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to find out a character position ?
by almut (Canon) on Feb 25, 2009 at 07:15 UTC | |
by balakrishnan (Monk) on Feb 25, 2009 at 08:20 UTC | |
|
Re: How to find out a character position ?
by imrags (Monk) on Feb 25, 2009 at 07:43 UTC |