Format (“{0:0000}”, 157); // 輸出0157 前後都補0的數字字串String.Format(“{0:00 C# ... JAVA去除前面的0跟補前面的0 發現有兩種方式String str = “001234”; 1. str.
確定! 回上一頁