1INDEX(3F) INDEX(3F)
2
3
4
6 index, rindex, lnblnk, len - tell about character objects
7
9 (intrinsic) function index (string, substr)
10 character*(*) string, substr
11
12 integer function rindex (string, substr)
13 character*(*) string, substr
14
15 function lnblnk (string)
16 character*(*) string
17
18 (intrinsic) function len (string)
19 character*(*) string
20
22 Index (rindex) returns the index of the first (last) occurrence of the
23 substring substr in string, or zero if it does not occur. Index is an
24 f77 intrinsic function; rindex is a library routine.
25
26 Lnblnk returns the index of the last non-blank character in string.
27 This is useful since all f77 character objects are fixed length, blank
28 padded. Intrinsic function len returns the size of the character
29 object argument.
30
32 /usr/lib/libF77.a
33
34
35
364.2 Berkeley Distribution May 15, 1985 INDEX(3F)