index(3F) 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 either the position at which substring
ch2 starts or 0 if ch2 is not present in string ch1.
Page 1 (last mod. 1/14/87)