Results 1 to 2 of 2

Thread: Trim problem (resolved)

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 1999
    Posts
    164

    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

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Aug 1999
    Posts
    164
    Nevermind, I figured it out. It wasn't spaces in there, it was Tabs. A Replace CHR(9) with "" took care of it.
    -Shurijo

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width