Description:
The routine locates the
last occurence of the single character CVAL in STRING. If an occurence is not located then IAT is returned
as 0.
Invocation
CALL CHR_LASTO( STRING, CVAL, IAT )
Arguments
STRING = CHARACTER
∗ (
∗
) (Given)
String to be searched for occurences of CVAL.
CVAL = CHARACTER
∗ ( 1 )
(Given)
Character whose last occurence is to be located.
IAT = INTEGER (Returned)
Position
within STRING at which last occurence of CVAL is located. Set to 0 if the character is not found.
Copyright © 2018 East Asian Observatory