用两个{{代替{ string.format("{{rwer}}{0}","abc"); 结果{rwer}abc 转载于:https://www.cnblogs.com/zhulinmails/archive/2012/05/26/2519124.html