
Next:
CHR_PUTD
-
Put a DOUBLE PRECISION value into a string at a given position
Up: Routine Descriptions
Previous:
CHR_PREFX
-
Prefix a string with a substring
CHR_PUTC
-
Put a CHARACTER string into another at a given position
- Description:
-
The string STR1 (or as much of it as there is room for) is
copied into the part of STR2 beginning at position IPOSN+1.
IPOSN is updated to indicate the end position of the copy of
STR1 within STR2 after this operation. If no copying is
done, IPOSN is returned unchanged. The sizes of STR1 and
STR2 are based on the declared Fortran 77 size given by the
intrinsic function LEN.
- Invocation:
-
CALL CHR_PUTC( STR1, STR2, IPOSN )
- Arguments:
-
-
STR1 = CHARACTER
(
) (Given)
-
The string to be copied.
-
STR2 = CHARACTER
(
) (Given and Returned)
-
The string into which STR1 is to be copied.
-
IPOSN = INTEGER (Given and Returned)
-
The position pointer within STR2.

Next:
CHR_PUTD
-
Put a DOUBLE PRECISION value into a string at a given position
Up: Routine Descriptions
Previous:
CHR_PREFX
-
Prefix a string with a substring
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