next up previous
Next: CHR_SKCHR - Skip over all specified characters in a string
Up: Routine Descriptions
Previous: CHR_SIMLR - Return whether two strings are equalapart from case

CHR_SIZE  -  Return the declared size of a string

Description:
Give the declared size of a Fortran 77 character string variable, including trailing blanks.

Invocation:
RESULT = CHR_SIZE( STRING )

Arguments:
STRING = CHARACTER ( ) (Given)
The character string of whose length is determined.

Returned Value:
CHR_SIZE = INTEGER
Returns the declared size of the string.

Notes:
This routine is OBSOLETE. It exists for historical reasons. Its function is identical to the Fortran 77 intrinsic function LEN. It is recommended that the intrinsic function LEN be called directly.



next up previous
Next: CHR_SKCHR - Skip over all specified characters in a string
Up: Routine Descriptions
Previous: CHR_SIMLR - Return whether two strings are equalapart from case



CHR Character Handling Routines
Starlink User Note 40
A C Charles
P C T Rees
A J Chipperfield
2 August 1995
E-mail:ussc@star.rl.ac.uk