Number Format: Size Field
Sample (Size is in red): %1<%6.3lf(E1-10)>
Search and Replace has some support for the printf-type size prefix field, an optional prefix to type that determines the "size" of the argument. In most cases you can omit a size character. l is the most common use.
To specify |
Use prefix |
With type specifier |
long integer |
l |
d, i, o, x, or X |
long unsigned integer |
l |
u |
short integer |
h |
d, i, o, x, or X |
short unsigned integer |
h |
u |
__int64 |
I64 |
d, i, o, u, x, or X |
Single-byte character |
h |
c or C |
Single-byte character |
h |
c or C |
Wide character |
l |
c or C |
Wide character |
l |
c or C |
Single-byte û character string |
h |
s or S |
Single-byte û character string |
h |
s or S |
Wide-character string |
l |
s or S |
Wide-character string |
l |
s or S |
Thus to print single-byte or wide-characters with printf functions and wprintf functions, use format specifiers as follows.
To print character as |
Use function |
With format specifier |
single byte |
printf |
c, hc, or hC |
single byte |
wprintf |
C, hc, or hC |
wide |
wprintf |
c, lc, or lC |
wide |
printf |
C, lc, or lC |