Chapter Contents

Previous

Next
TRANSLATE

TRANSLATE



Replaces specific characters in a character expression

Windows specifics: Required syntax; pairs of to and from arguments are optional


Syntax
Details
See Also

Syntax

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

source
specifies the SAS expression containing the original character value.

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

from
specifies the characters you want TRANSLATE to replace.


Details

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.

See Also


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.