Node: Index Intrinsic, Next: , Previous: ImagPart Intrinsic, Up: Table of Intrinsic Functions



Index Intrinsic

     Index(String, Substring)
     

Index: INTEGER(KIND=1) function.

String: CHARACTER; scalar; INTENT(IN).

Substring: CHARACTER; scalar; INTENT(IN).

Intrinsic groups: (standard FORTRAN 77).

Description:

Returns the position of the start of the first occurrence of string Substring as a substring in String, counting from one. If Substring doesn't occur in String, zero is returned.