Chapter Contents

Previous

Next
DEQUOTE

DEQUOTE



Removes quotation marks from a character value

Category: Character


Syntax
Arguments
Details
Examples

Syntax

DEQUOTE(argument)

Arguments

argument
specifies a character value.


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.