Writes data values that are enclosed in single quotation marks.
Category: | Character |
Alignment: | Left |
specifies the width of the output field.
Default | 2 if the length of the variable is undefined; otherwise, the length of the variable + 2. |
Range | 2–32767 |
Tip | Make w wide enough to include the left and right quotation marks. |
Statements
|
Results
|
---|---|
----+----1----+----2 |
|
select put('SAS',$quote.); |
"SAS" |
select put('SAS''s',$quote.); |
"SAS's" |
select put('ad''verb',$quote16.); |
"ad'verb" |
select put('"ad"''"verb"',$quote20.); |
"""ad""'""verb""" |