I have noticed strange happenings when requesting a textarea from the form for example request.form("textArea") will not always return the information correctly so I always make it a habit of adding the .item to the request request.form.item("textArea"). Try converting it to a string before trimming the contents Trim(Cstr(request.form.item("textArea)). One more thing "tabs" are considered valid characters they will show up as "ڤ" when posting data so they will not be trimmed but will show up as " " when viewed after the browser has decoded it.
It is possible that your variable which you are using to fill textarea is having some sort of VBtab or vbcrlf appended to it. Check it carefully.
Originally posted by Eitan
When I display Texarea on screen I've a strange problem.
The text area enter the data and add some spaces in the end of the data.
I dont no why it happend!
I use TRIM but it doesn't help.