Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

perlfunc:rindex

by gods (Initiate)
on Aug 24, 1999 at 22:42 UTC ( [id://200]=perlfunc: print w/replies, xml ) Need Help??

rindex

See the current Perl documentation for rindex.

Here is our local, out-dated (pre-5.6) version:


rindex - right-to-left substring search



rindex STR,SUBSTR,POSITION

rindex STR,SUBSTR



Works just like index except that it returns the position of the LAST occurrence of SUBSTR in STR. If POSITION is specified, returns the last occurrence at or before that position.


Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2025-03-20 04:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When you first encountered Perl, which feature amazed you the most?










    Results (60 votes). Check out past polls.