Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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?
[LanX]: damn my headphones were not plugged and the video blasted thru the office ...
[LanX]: xD
[LanX]: .. my boos woke up... ;-)
[Eily]: nice to see I'm not the only one looking like a fool at work
Eily answered a message but made the smiley on his face instead of in the message

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (13)
As of 2017-09-20 15:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (237 votes). Check out past polls.

    Notices?