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;
In reply to How to find out a character position ? by balakrishnan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |