I have a paragraph which has HTML tags in it. I need to restrict it to 100 characters after the parse of HTML. For example
Hello<a href ="#"> World </a>
If my length check is for 8, then my HTML should be Hello Wo where Wo should be an anchor tag. There can be any other tags. Any help would be appreciated.