Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2003
    Location
    Glasgow, UK
    Posts
    8

    Problem with Forums

    Hi

    I was responding to a user's post and provided a code sample for them.

    The sample suggested that the user replace all occurences of a single quote with backslash single quote.

    When I typed this using the actual punctuation characters the back slash had been removed when viewing the resulting reply.

    For example...

    Replace(objRs.Fields(1).Value, "'", "\'")

    Should read Replace(objRs.Fields(1).Value, "SINGLE_QUOTE", "BACKSLASH_SINGLE_QUOTE")

  2. #2
    Join Date
    Oct 2003
    Location
    Glasgow, UK
    Posts
    8

    Re: Problem with Forums

    Okay, so it's not happening in this forum. I was in the ASP Forum and it happened twice.

    Originally posted by Bagload
    Hi

    I was responding to a user's post and provided a code sample for them.

    The sample suggested that the user replace all occurences of a single quote with backslash single quote.

    When I typed this using the actual punctuation characters the back slash had been removed when viewing the resulting reply.

    For example...

    Replace(objRs.Fields(1).Value, "'", "\'")

    Should read Replace(objRs.Fields(1).Value, "SINGLE_QUOTE", "BACKSLASH_SINGLE_QUOTE")

Posting Permissions

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