OK.. here it is. I have elements coming in from an array, submitted from an HTML textarea form. I can get the individual elements formated the way I want (each newline is a new element), but I am having trouble eliminating excess carriage returns.
The extra carriage returns come in as seperate array elements, I can eliminate them, but the complete array then becomes only one string or element. How do I remove ONLY the excess or accidental carriage returns, but keep the ones that seperate each array element? Thank you!