What is the objective of your code naresh? No problem in string functions. But check your logic, because your loop is stopping you from what you want to do. 'Hint: Check line 11 & 13 again for logic....