一個字符串替換的小方法

原來的方法寫的很差從新寫了一個,貼出來和你們分享一下(望指正)。input package test  ;string public class Test {    public static void main(String[] args) {      String input = "我是鋼鐵俠!" ;   input = substitute(input, "鋼鐵俠", "superman"
相關文章
相關標籤/搜索