Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: what is the difference between index and rindex

by ikegami (Patriarch)
on Sep 05, 2006 at 16:43 UTC ( [id://571281]=note: print w/replies, xml ) Need Help??


in reply to what is the difference between index and rindex

Sometimes, an example works best.

>perl -e "print index 'abcdcda', 'c'" 2 >perl -e "print rindex 'abcdcda', 'c'" 4

Reference: index, rindex

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://571281]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2024-04-23 11:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found