in reply to Re: Extracting a substring of N chars ignoring embedded HTML
in thread Extracting a substring of N chars ignoring embedded HTML
You misunderstood my question. I am not interested in stripping the HTML, I want to keep it in the string. I just don't want the HTML tags to be counted as characters when I try to create a substring of length N.