File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / usr / src / man / man3 / index.3f
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:24:19 2019 UTC (7 years ago) by root
Branches: bsd, MAIN
CVS tags: v12b, v121, HEAD
Power 6/32 Unix version 1.2b

.TH INDEX 3F "13 June 1983"
.UC 4
.SH NAME
index, rindex, lnblnk, len \- tell about character objects
.SH SYNOPSIS
.B (intrinsic) function index (string, substr)
.br
.B character*(*) string, substr
.sp 1
.B integer function rindex (string, substr)
.br
.B character*(*) string, substr
.sp 1
.B function lnblnk (string)
.br
.B character*(*) string
.sp 1
.B (intrinsic) function len (string)
.br
.B character*(*) string
.SH DESCRIPTION
.I Index
.I (rindex)
returns the index of the first (last) occurrence of the substring
.I substr
in
.I string,
or zero if it does not occur.
.I Index
is an f77 intrinsic function;
.I rindex
is a library routine.
.PP
.I Lnblnk
returns the index of the last non-blank character in
.I string.
This is useful since all f77 character objects are fixed length, blank padded.
Intrinsic function
.I len
returns the size of the character object argument.
.SH FILES
.ie \nM /usr/ucb/lib/libF77.a
.el /usr/lib/libF77.a

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.