Live2D

c# PadLeft,PadRight用法

补位

string str = "10";

str.PadLeft(5,'0')

输出:00010

str.PadRight(5, '0')

输出:10000

posted @ 2019-09-10 18:07  webmtjj  阅读(753)  评论(0)    收藏  举报