如何替换字符串内部?
first string is = "1.jpg"
with
second string is \"cid:image1\"
好吧,我没有把它放在字符串中因为有问题,你可以命名它string1
并string2
用string3
.
更新
put in string1
value "1.jpg"
, and in string2
\"cid:image1"
, 并替换string1
为string2
获取string1
值\"cid:image1"
\
问题是写不出来怎么替换?