You can replace the space character with “like”:
text.replace(" ", " like ");
solved Write method that puts the word “like” in between each of the words in the original sentence
You can replace the space character with “like”:
text.replace(" ", " like ");
solved Write method that puts the word “like” in between each of the words in the original sentence