Replace certain string in array of strings

后端 未结 7 909
广开言路
广开言路 2021-01-12 22:07

let\'s say I have this string array in java

String[] test = {"hahaha lol", "jeng jeng jeng", &quo         


        
7条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-12 22:23

    for each String you would do a replaceAll("\\s", "%20")

提交回复
热议问题