MyOSNote
This is my personal notes on computer stuff.
2016年11月16日 星期三
Java筆記本
使用StringUtils
原始資料 "0"
目標:補齊成為四位數字 "0" ==> "0000"
使用StringUtils.leftPad( 原始資料 ,4,"0") 4: 最多幾位數 "0": 缺的時候藥補上的...
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言