String.format 细节





String.format(Locale.US, format, args);


format
参数 如果有% 那么%后面必须跟一个合法的字符,否则崩溃, 因为在String.format中 %为特殊字符.
原文地址:https://www.cnblogs.com/xiaorenwu702/p/5000677.html