perldoc -f index
perldoc -f rindex
In reply to Re: How to find out a character position ? by imrags in thread How to find out a character position ? by balakrishnan