In reply to dave_59:
Hi Dave ,
What is the significance of having >>8 , I tried your code with >>4 which is not working correctly.
I also increased the string : stringisgood and tried with the same code >>8 in that case also it worked fine.
Can you please give your comment ?
Thanks ,
Sarang