Forum Moderators: coopster
However I am having a problem when it takes a non-alpha-numeric entity such as & and cuts it off mid-way for example. This creates a parsing error which disables my page served as application/xhtml+xml.
$mail['shortsubject'] = ucwords(strtolower(substr($mail['subject'], 0, 36)));
So what I want to do is tell the page to do the same thing EXCEPT when encountering non-alpha-numeric entities such as the amperstamp.
John
I'm not certain if that would be more or less efficient than parsing the string for a &x; then branching your code, but I bet it would work. :)