string, strlowcase, strupcase
| name & dimensionality | kind | in/out | description |
|---|---|---|---|
| number | LGT/ I4B/ SP/ DP | IN | number or boolean flag to be turned into a character string. |
| instring | CHR | IN | arbitrary character string. |
| outstring | CHR | -- | output character string. |
| format OPTIONAL | CHR | IN | character string describing Fortran format of output. |
FUNCTIONS:
outstring = string(number [,format])
| returns in outstring its argument number converted to a character string. If format is provided it is used to format the output, if not, the fortran default format matching number's type is used. |
outstring = strlowcase(instring)
| returns in outstring its argument instring converted to lowercase. ASCII characters in the [A-Z] range are mapped to [a-z], while all others remain unchanged. |
outstring = strupcase(instring)
| returns in outstring its argument instring converted to uppercase. ASCII characters in the [a-z] range are mapped to [A-Z], while all others remain unchanged. |
Will printout 00123, *ABCD-123 and *abcd-123.
Version 3.31, 2016-08-26