Managing quotes in Document Properties

I have an information link with a single value string parameter.  I want to pass a document property into that parameter.  The document property is likely to have single quotes in it.

Example document property value: abc','def','ghi

When I pass the document property with quotes into the information linke parameter, it adds quotes on the outside of the value and also duplicates the already existing quotes.

Parameter: 'abc'',''def'',''ghi'

Since this is used in a query, this is not pulling back any data.

Any way of preventing the quote duplication?

(1) Answer