start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: rewinddir Chapter 5
Function Reference
Next: Reference: rmdir
 

rindex

rindex 
str
, 
substr
, [
position
]

Works just like index except that it returns the position of the last occurrence of substr in str (a reverse index ). The function returns -1 if not found. position , if specified, is the rightmost position that may be returned - how far in the string the function can search.


Previous: Reference: rewinddir Perl in a Nutshell Next: Reference: rmdir
Reference: rewinddir Book Index Reference: rmdir