Is anyone else having issues with replace and rereplace?

I’m using Lucee 5.3.2.56-SNAPSHOT

I’m doing a simple search for apostrophes before I submit input into a database. Basically the code looks like this:

inpVal = arguments.newValue

if( inpVal.find(" an apostrophe here ") ) inpVal.replace("'", "'", 'all")

I use an actual apostrophe in my code. Just in case the above was taken literally

The find function works but neither replace or rereplace works.

Anyone else having issues?

You have an error in your syntax: 'all" instead of “all”

I would also recommend using the Canonicalize function
see:

I usually escape the single ’ with a second '.