Hi tprabhuit,
Thanks for the reply. I figured out how to count the number of paragraphs. What I had to do was, as you said count the number of \n but not only. If you count the number of \n it will give you the number of lines not the number of paragraphs. You have to search for \n\n together not only \n
Once again 10x for the reply
Andrew
