Results 1 to 3 of 3

Thread: Quotes in writing clip board to file

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 1999
    Location
    Milford, NH
    Posts
    15

    Post

    I want to get rid of the double quotes when inserting from the clipboard into a string.
    Tried Left$ and Right$ but the double quote insert in file with write.

    I tried this:
    Dim Clip as string
    'after copying the clipboard to the string
    Clip = replace(Clip, chr(34),"")

    After doing this the quotes are still in the string and show up in the file when I do the write.
    How about removing characters from the file after the write? What command?




  2. #2
    Guest

    Post

    I believe you are replacing quotes with quotes. Try using the ascii value for a space.

    Clip = Replace(Clip, Chr(34),Chr(60))


    ------------------
    Boothman
    There is a war out there, and it is about who controls the information, it's all about the information.



    [This message has been edited by Boothman_7 (edited 02-02-2000).]

  3. #3

    Thread Starter
    New Member
    Join Date
    Dec 1999
    Location
    Milford, NH
    Posts
    15

    Post

    Originally posted by Boothman_7:
    I believe you are replacing quotes with quotes. Try using the ascii value for a space.

    Clip = Replace(Clip, Chr(34),Chr(60))

    The actual double quotes that the application uses to denote the string are being written into the file when I write the varable to the file. The string data has not double quotes.

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