Suppose my input sentence is:
"My friends who live in California are good. The people who work in my team are good."
My output will be:
my is present 2 times
in is present 2 times
are is present 2 times
good is present 2 times
While doing it with UNSTRING, I need to how many words are there present in the sentence.
But my input is given by user. So I do not know while coding that how many words will be present in the input sentence.
Please help to achieve this...