$w. Format
Writes standard character data.
Category: |
Character |
Alignment: |
Left |
Alias: |
$Fw.
|
Syntax
Arguments
w
specifies the width
of the output field.
Default |
The length of the output is the length of the input
variable; if the input variable’s length is undefined, the
default length is 1.
|
Range |
1–32767 |
Comparisons
The $w.
format and the $CHARw. format
are identical, and they do not trim leading blanks.
Example
|
|
|
|
|
|
select put('#Cary',$f5.);
|
|
select put('Carolina',$5.);
|
|
1The character # represents
a blank space.
|
Copyright © SAS Institute Inc. All Rights Reserved.
Last updated: February 23, 2017