【转载】Java String.Format() 方法及参数说明
<span style="" class="Apple-style-span"><span style="font-family: Verdana, Arial, Tahoma; font-size: 12px;" class="Apple-style-span"><div style="" class="intro">JDK1.5中,String类新增了一个很有用的静态方法String.format():format(Locale l, String format, Object... args) 使用指定的语言环境、格式字符串和参数返回一个格式化字符串。
format(String format, Object... args
页:
[1]