目前只会一种
比如:
String str="我是{0},我来自{1}"; str=str.replace("{0}","bruceLee"); str=str.replcae("{1}","chn"); syso(str);