VMS Help  —  RTL Routines, STR$  STR$TRANSLATE
    The Translate Matched Characters routine successively compares
    each character in a source string to all characters in a match
    string. If a source character has a match, the destination
    character is taken from the translate string. Otherwise,
    STR$TRANSLATE moves the source character to the destination
    string.

    Format

      STR$TRANSLATE  destination-string ,source-string

                     ,translation-string ,match-string

1  –  Returns

    OpenVMS usage:cond_value
    type:         longword (unsigned)
    access:       write only
    mechanism:    by value

2  –  Arguments

 destination-string

    OpenVMS usage:char_string
    type:         character string
    access:       write only
    mechanism:    by descriptor

    Destination string. The destination-string argument is the
    address of a descriptor pointing to the destination string.

 source-string

    OpenVMS usage:char_string
    type:         character string
    access:       read only
    mechanism:    by descriptor

    Source string. The source-string argument is the address of a
    descriptor pointing to the source string.

 translation-string

    OpenVMS usage:char_string
    type:         character string
    access:       read only
    mechanism:    by descriptor

    Translate string. The translation-string argument is the address
    of a descriptor pointing to the translate string.

 match-string

    OpenVMS usage:char_string
    type:         character string
    access:       read only
    mechanism:    by descriptor

    Match string. The match-string argument is the address of a
    descriptor pointing to the match string.
Close Help