PDA

View Full Version : Problem with Forums


Bagload
10-02-03, 13:10
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")

Bagload
10-02-03, 13:10
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")