If you do it by character by character, then you'll end up with meshed code. Because, for example, in your first sentence, there is a char
i, so you search for
i in the second sentence, It's OK. But how do you put a space between the next
word? And, for the second character
w, there is a w in your first sentence's word Tomorrow. then?.....
It's better to go for checking word by word,,,,,