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

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: hex Chapter 5
Function Reference
Next: Reference: int
 

index

index 
string
, 
substr
, 
[start]

Returns the position of the first occurrence of substr in string . The start , if specified, specifies the position to start looking in the string. Positions are integer numbers based at 0 . If the substring is not found, the index function returns -1 .


Previous: Reference: hex Perl in a Nutshell Next: Reference: int
Reference: hex Book Index Reference: int

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.