in reply to How to find out a character position ?

Have a look at this:
Index function examples
Hope it is of some help
Also try

perldoc -f index

perldoc -f rindex

Raghu
  • Comment on Re: How to find out a character position ?