next up previous
Next: CHR_RTOAN - Write a REAL value into a string as hr/deg:min:sec
Up: Routine Descriptions
Previous: CHR_RMBLK - Remove all blanks from a string

CHR_RMCHR  -  Remove all specified characters from a string

Description:
Remove a specified set of characters from a string in situ. The remaining characters are moved to the left to eliminate the resulting empty space, and the end of the string is filled with blanks.

Invocation:
CALL CHR_RMCHR( CHARS, STRING )

Arguments:
CHARS = CHARACTER ( ) (Given)
A string specifying all the characters which are to be removed.
STRING = CHARACTER ( ) (Given and Returned)
The string from which the characters are removed.



next up previous
Next: CHR_RTOAN - Write a REAL value into a string as hr/deg:min:sec
Up: Routine Descriptions
Previous: CHR_RMBLK - Remove all 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