|
-
May 22nd, 2003, 10:17 AM
#1
Thread Starter
Addicted Member
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,
Last edited by Shurijo; May 22nd, 2003 at 11:17 AM.
-Shurijo
-
May 22nd, 2003, 11:17 AM
#2
Thread Starter
Addicted Member
Nevermind, I figured it out. It wasn't spaces in there, it was Tabs. A Replace CHR(9) with "" took care of it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|