Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

perlfunc:rindex

by gods
on Aug 24, 1999 at 22:42 UTC ( #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
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2017-02-26 14:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (373 votes). Check out past polls.