字符串替换

  

  // 对字符串替换

String cron = "0 0 0/{0} * * ?";
String newcron = MessageFormat.format(cron, dto.getDeduct());
原文地址:https://www.cnblogs.com/chengyangyang/p/10372870.html