SAS Functions and CALL Routines under Windows |
Replaces specific characters in a character expression.
Category: |
Character
|
Windows specifics: |
Required syntax; pairs of to and from arguments are optional
|
See: |
TRANSLATE Function in
SAS Language Reference: Dictionary
|
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.
Under Windows, 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
place holder.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.