Hello.
What is the best way to take code from an editor, strip out all tags and convert Ascii characters to their interpreted form in order to provide a more accurate count?
For example, I don't want the strlen(...) to count ' ' as 6 characters. I want it to count it as one (1) space. Similarly for quotes, etc.
I used strip_tags() to remove the HTML, but the string (text) is still left with Ascii characters.
Also, is there a maximum string size that strlen() can count or is there a better way to do this?
I need it to count up to relatively long document pages e.g. 8x14 small characters therefore, a lot of characters total, relatively speaking.
Thanks in advance.