BZ易风

导航

 

前/后填充

string.format(%10s, str) --不够10个字符前面填充相应空格
string.format(%-10s, str) --不够10个字符后面填充相应空格

 

posted on 2021-06-23 09:42  BZ易风  阅读(626)  评论(0编辑  收藏  举报