老榆

关注

字符串replace用法

老榆

关注

阅读 131

2022-03-15

例如

str="i love you"

int pos=str.find("you")

str.replace(pos,3,"we")

那么str变成了i love we

相关推荐

weednoah

解读字符串replace

weednoah 69 0 0

Greatiga

groovy replace字符串替换

Greatiga 181 0 0

三千筱夜

字符串替换(replace,replaceAll)

三千筱夜 62 0 0

c一段旅程c

字符串替换(replace、replaceAll、replaceFirst)

c一段旅程c 169 0 0

穿裙子的程序员

python字符串处理replace、strip、translate

穿裙子的程序员 60 0 0

米小格儿

字符串用法总结

米小格儿 122 0 0

凶猛的小白兔

字符串的用法

凶猛的小白兔 79 0 0

朱悟能_9ad4

使用replace去掉字符串开头或结尾的空字符串

朱悟能_9ad4 183 0 0

悬灸人雪洋

【Kotlin】字符串操作 ② ( 字符串替换函数 replace | 字符串比较操作符 == 和 === | 字符串遍历 forEach )

悬灸人雪洋 103 0 0

color_小浣熊

MySQL批量替换指定字段字符串之replace()

color_小浣熊 144 0 0

精彩评论(0)

0 0 举报