Hi,
How can i take a string lets say "sentence" and a word wordOne and an other word wordTwo. And replace within sentence wordOne by wordTwo without using the function
Is it possible to maybe chop off the string into diffewrent part match the word and swap it then reconstruct the string and display.Code:sentence.replace(wordOne, wordTwo);
Thanks
JD


Reply With Quote


Bookmarks