-
Trim problem (resolved)
Hey,
Dim myString as string
myString ="
"
(with a CR, carriage return, in there)
The myString is being created by parsing a document, between certain tags, etc. So sometimes there will be text, othertimes, just a bunch of white space and CRs.
When I use Trim(myString), it doesn't remove the white spaces. Is there any better way to get rid of both CRs and white spaces, so I can just set myString to "".
thanks,
-
Nevermind, I figured it out. It wasn't spaces in there, it was Tabs. A Replace CHR(9) with "" took care of it.