topgetwrd
String
Return value
wrd = returned word or words.
Parameters
txtstr
in
required
type: string or array of strings
nth
in
required
type: integer
default: 0
mth
in
optional
type: integer
Keywords
HELP
LOCATION
DELIMITER
NOTRIM
LAST
NWORDS
Version history
Version
$Id: getwrd.pro 374 2008-08-08 15:12:27Z pinsard $
History
- Ray Sterner, 6 Jan, 1985.
- R. Sterner, Fall 1989 --- converted to SUN.
- R. Sterner, Jan 1990 --- added delimiter.
- R. Sterner, 18 Mar, 1990 --- added /LAST.
- R. Sterner, 31 Jan, 1991 --- added /NOTRIM.
- R. Sterner, 20 May, 1991 --- Added common and NULL string.
- R. Sterner, 13 Dec, 1992 --- Made tabs equivalent to spaces.
- R. Sterner, 4 Jan, 1993 --- Added NWORDS keyword.
- R. Sterner, 2001 Jan 15 --- Fixed to use first element if not a scalar.
Copyright (C) 1985, Johns Hopkins University/Applied Physics Laboratory
This software may be used, copied, or redistributed as long as it is not
sold and this copyright notice is reproduced on each copy made. This
routine is provided as is without any express or implied warranties
whatsoever. Other limitations apply as described in the file disclaimer.txt.
Known issues
Restrictions
Other attributes
Uses routines
getwrd_com
Common blocks used
getwrd_com
Statistics
McCabe cyclic | 17 |
McCabe essential | 2 |
McCabe modular design | 1 |