字符串,不足位前位補0

不是數字,是字符串前位補0哦。。就須要下面這個了。不然用format函數便可。函數

string str = svalue.PadLeft(4, '0');orm

相關文章
相關標籤/搜索