Stuck With String Tokenizer


i was only getting the first word in the string.can you tell me why this is happening

As bhaiya told you in the video, I updated the code.
Please check now.

If you have any other doubts, feel free to ask again.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.