ST_UNPR
The ST_UNPR routine eliminates substrings of unprintable
characters. Substrings of control characters, i.e.,
characters less than a blank, are replaced by a singlei
blank. Characters greater than '}' (CHAR (126)) are
replaced by '~' (CHAR (127)). This subroutine can be
used to replace control characters such as CR and LF with
a single blank. Invalid characters in the ASCII character
set are replaced by '~' so that the lengths of fields in
the record will remain unchanged. The input and output
strings may be the same variable.
USAGE: CALL ST_UNPR ( STRING, LENIN, OUTSTR, LENOUT, IRET )
Input parameters:
STRING CHAR* Input string
LENIN INTEGER Length of input string
Output parameters:
OUTSTR CHAR* Output string
LENOUT INTEGER Length of output string
IRET INTEGER Return code
0 = normal return
GEMLIB.tar |
Library contains routines
utilities for GEMPAK. (Fortran90)
Date posted: 2/27/2007 |