How can I replace a certain part of my string with another one?
Input string:
"Hello, my name is Santa"
How can I change all a
's in my string with something else?
I think I need a foreach
loop, but I'm unsure how to use it.
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…