index(3F)
NAME
index − return location of Fortran substring
SYNOPSIS
character∗N1 ch1
character∗N2 ch2
integer i
i = index (ch1, ch2)
DESCRIPTION
index returns the location of substring ch2 in string ch1. The value returned is the positive position at which substring ch2 starts, or 0 if it is not present in string ch1.
CX/UX Hf77 Fortran Reference Manual