bsd man page for index

Query: index

OS: bsd

Section: 3f

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

INDEX(3F)																 INDEX(3F)

NAME
index, rindex, lnblnk, len - tell about character objects
SYNOPSIS
(intrinsic) function index (string, substr) character*(*) string, substr integer function rindex (string, substr) character*(*) string, substr function lnblnk (string) character*(*) string (intrinsic) function len (string) character*(*) string
DESCRIPTION
Index (rindex) returns the index of the first (last) occurrence of the substring substr in string, or zero if it does not occur. Index is an f77 intrinsic function; rindex is a library routine. Lnblnk returns the index of the last non-blank character in string. This is useful since all f77 character objects are fixed length, blank padded. Intrinsic function len returns the size of the character object argument.
FILES
/usr/lib/libF77.a 4.2 Berkeley Distribution May 15, 1985 INDEX(3F)
Related Man Pages
index(3) - redhat
rindex(3) - linux
index(3) - centos
rindex(3) - suse
rindex(3) - v7
Similar Topics in the Unix Linux Community
Indexing or Filtering code- Pattern Search by comparing two files
awk: reading into an array and then print the value corresponding to index
BASH - storing index value from another file
awk uniq and longest string of a column as index
Associative array index question