i want to replace a word in string by other word
how do this simply ?
m_sam6
0
Newbie Poster
Recommended Answers
Jump to PostIf you want to replace all the occurrences of the word take a look at the
replaceAll
method, else if you would just want to replace the first occurrence of it, use thereplaceFirst
method. If you still want to do something else, such as replace an occurrence of the …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.