I believe you need something like

${my_forcast:replace("'","\\'")}

Using two backslashes \\.  The backslash is also used as an escape
character in the expression language string, so you need two consecutive
backslashes to make one literal backslash in the output.

On Thu, Apr 5, 2018 at 7:31 AM, Noe Detore <ndet...@minerkasch.com> wrote:

> Need to escape single quote for PutSql.  'Today's forecast ...' by a
> backslash: 'Today\'s forecast ...', How can this be done using ReplaceText?
> ${my_forcast:replace("'","\'")} does not work.
>

Reply via email to