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. January 1992 1