User Shum, Garry ( posted:

Content-Type: text/plain;
Content-Transfer-Encoding: 7bit

Already tried that but no go. Split doesn't see "\r\n" at all in the
situation I described. It works if the code is used outside of a custom
function or inside a custom function as long as the string is not from an
array that was constructed via substr(). Did anyone catch that? Strange
situation. I think I have a workaround for it and will try it next week.