Writes data values that are enclosed in double quotation marks.
Category: | Character |
Alignment: | Left |
put name $quote20.;
Value of
name |
Result
|
---|---|
|
----+----1----+----2 |
SAS |
"SAS" |
SAS's |
"SAS's" |
'ad"verb"' |
"'ad""verb""'" |
'ad''verb' |
"'ad''verb'" |
'"ad"''"verb"' |
----+----1----+----2 "'""ad""''""verb""'" |
deoxyribonucleotide |
"deoxyribonucleotid" 1 |
1deoxyribonucleotide is 19 characters. When SAS adds the quotation marks, the length of the string is 21 characters. SAS truncates the letter e at the end of the text to accommodate the quotation marks. |