std-strcenter | ![]() |
std-strcenter add spaces to the beginning and end of the string, so that the resulting string is exactly len characters long.
(std-strcenter "test" 10) => " test "
str: a string.
len: a positive integer number.
A justified string.
None.
(std-require 'STDSTR)
Defined in STDSTR