INDEX(3F-SysV) RISC/os Reference Manual INDEX(3F-SysV)
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.
Printed 1/15/91 Page 1