Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2004

    Unanswered: Convert a double quote

    I have a field that contains double quotes that I want to changeto single quotes.

    For example field name contains:
    Andrew, Thomas "Tom"

    I want to change this to :
    Andrew, Thomas 'Tom'

    I am trying to use a tcursor with breakapart, but I can't figure out how to format the double quotes.
    s.breakApart(pieces, """) - this doesn't work.

    Thanks for any help

  2. #2
    Join Date
    Sep 2003
    double quotes and other special characters have to be preceded by a "\" to have them taken literally. So if you want """ you have to type "\"".

Posting Permissions

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