|
|
1.1 root 1: .TH INDEX 3F "13 June 1983"
2: .UC 4
3: .SH NAME
4: index, rindex, lnblnk, len \- tell about character objects
5: .SH SYNOPSIS
6: .B (intrinsic) function index (string, substr)
7: .br
8: .B character*(*) string, substr
9: .sp 1
10: .B integer function rindex (string, substr)
11: .br
12: .B character*(*) string, substr
13: .sp 1
14: .B function lnblnk (string)
15: .br
16: .B character*(*) string
17: .sp 1
18: .B (intrinsic) function len (string)
19: .br
20: .B character*(*) string
21: .SH DESCRIPTION
22: .I Index
23: .I (rindex)
24: returns the index of the first (last) occurrence of the substring
25: .I substr
26: in
27: .I string,
28: or zero if it does not occur.
29: .I Index
30: is an f77 intrinsic function;
31: .I rindex
32: is a library routine.
33: .PP
34: .I Lnblnk
35: returns the index of the last non-blank character in
36: .I string.
37: This is useful since all f77 character objects are fixed length, blank padded.
38: Intrinsic function
39: .I len
40: returns the size of the character object argument.
41: .SH FILES
42: .ie \nM /usr/ucb/lib/libF77.a
43: .el /usr/lib/libF77.a
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.