Click to See Complete Forum and Search --> : trimming carriage returns from string


jrthor2
08-18-2008, 09:19 PM
If I have a string that could have a carriage return or a new line break at the end, how would I go about removing both of these?

Thanks.

Khalid Ali
08-18-2008, 10:42 PM
did u use trim function yet

jrthor2
08-20-2008, 03:33 PM
thanks, that worked. I wasn't sure if that took care of carriage returns, but it looks like it does.