Can you read this?

how to approach this?

Hello @avinashmallik2017

Loop through the string.
In each iteration look for the character
If the character is in capital case, then end the previous string and start a new string with this character

Example
PmsdamKnasdm

Output:
Pmsdam
Knasdm

Each word starts with a capital letter.
Let me know if you still need any help.

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.