Functions and CALL Routines under UNIX |
Replaces specific characters in a character expression.
Category: |
Character
|
UNIX specifics: |
to and from arguments are required
|
See: |
TRANSLATE Function in
SAS Language Reference: Dictionary
|
TRANSLATE(source,to-1,from-1<,...to-n,from-n>)
|
Note: This version is a simplified version of the TRANSLATE
function syntax. For the complete syntax and its explanation, see the TRANSLATE
function in
SAS Language Reference: Dictionary. ![[cautionend]](../../../../common/61991/HTML/default/images/cautend.gif)
-
source
-
specifies a constant, variable, or 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.
Under UNIX, you must specify pairs of to and from arguments,
and you
can use a comma as a placeholder.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.