im Implementing wordcount feature in my appliction it counts the numberof lines in the document,number of pages, number of charecters with space and without space,
numberof paragraphs in the document
i implemented this function it is working fine but the problem is becoz of loops and im checking each charecter, so if the document is too long say 30 or more pages my apliction get hangs.
so any bady is having the idea to implement it another way?
any advice is welcome