Silverfrost Logo About Us | Contact Us

%ws - Display String

%ws is used for the output of character strings.





'Mr %ws Bloggs'


Mr Frederick Bloggs


'Mr %9ws Bloggs'


Mr      Fred Bloggs


'Mr %`9ws Bloggs'


Mr      Fred Bloggs


'Mr %.4ws Bloggs'


Mr Fred Bloggs


'Mr %-9ws Bloggs


Mr Fred      Bloggs


(1) minimum field width,
(2) minimum of 9 characters, right justified,
(3) right justified in a space the width of 9 characters
(4) maximum of 4 characters,
(5) minimum of 9 characters, left justified.



Copyright © 1999-2019 Silverfrost Limited