SAS Component Language Dictionary |
Category: | Character |
Syntax | |
Details | |
See Also |
Syntax |
centered-string=CENTER(string<,length>); |
contains the centered character string. If centered-string already exists, then specifying length changes the length of centered-string to the number of characters specified in length.
contains the length in which the character string is to be centered. The default is the maximum length of centered-string.
Details |
The default length is the maximum length of centered-string. The string is centered by padding with spaces. To enable CENTER to work properly when centered-string is a window variable, set the justification attribute (JUST) for the control or field to NONE.
To left- or right-justify a string, use LEFT or RIGHT, respectively.
See Also |
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.