next up previous
Next: CHR_LINBR - Break a line of text into a sequence of shorter lines
Up: Routine Descriptions
Previous: CHR_LDBLK - Remove any leading blanks from a string

CHR_LEN  -  Return the length of a string, ignoring trailing blanks

Description:
Find length of string, ignoring trailing blanks.

Invocation:
RESULT = CHR_LEN( STRING )

Arguments:
STRING = CHARACTER ( ) (Given)
The string whose length is to be determined.

Returned Value:
CHR_LEN = INTEGER
Returns the used length of the string.



next up previous
Next: CHR_LINBR - Break a line of text into a sequence of shorter lines
Up: Routine Descriptions
Previous: CHR_LDBLK - Remove any leading blanks from a string



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