Chapter Contents

Previous

Next
TRANSLATE

TRANSLATE



Replaces specific characters in a character expression

CMS specifics: pairs of to and from arguments


Syntax
Details
See Also

Syntax

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


Details

Under CMS, every to argument must have a corresponding from argument; you cannot specify a null from argument. There is no practical limit to the number of to and from argument pairs.

TRANSLATE handles character replacement for single-byte character sets only. See KTRANLSATE to replace single-byte characters with double-byte characters, or vice versa.

See Also


Chapter Contents

Previous

Next

Top of Page

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