Chapter Contents |
Previous |
Next |
DEQUOTE |
Category: | Character |
Syntax | |
Arguments | |
Details | |
Examples |
Syntax |
DEQUOTE(argument) |
Details |
The DEQUOTE function removes single or double quotation marks from a character value. SAS also reduces any multiple quotation marks within the character-expression.
Examples |
SAS Statements | Results |
---|---|
x="A'B"; y=dequote(x); put y; |
A'B |
x="A""B"; y=dequote(x); put y; |
A"B |
x='A''B'; y=dequote(x); put y; |
A'B |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.