Previous Page | Next Page

Functions and CALL Routines under OpenVMS

TRANSLATE Function: OpenVMS



Replaces specific characters in a character expression.
Category: Character
OpenVMS specifics: Pairs of to and from arguments are optional
See: TRANSLATE Function in SAS Language Reference: Dictionary

Syntax
Details

Syntax

TRANSLATE(source,to-1,from-1<,...to-n,from-n>)

source

specifies the SAS expression that contains the original character value.

to

specifies the characters that you want TRANSLATE to use as substitutes.

from

specifies the characters that you want TRANSLATE to replace.


Details

Under OpenVMS, you do not have to provide pairs of to and from arguments. However, if you do not use pairs, you must supply a comma as a placeholder.

Previous Page | Next Page | Top of Page