INDEX(3F) SysV 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 position at which substring ch2 starts, or 0 if it is not
present in string ch1. If N2 is greater than N1, a zero is returned.