Name

index

Synopsis

                  index(
                  substr,str
                  )
               

Return the position of a substring in a string. Returns 0 if substr is not contained in str.

Get Linux in a Nutshell, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.