Forum Discussion

jpsheff's avatar
jpsheff
New Contributor
4 years ago

Replace parts of string with values from array of objects

I need to replace portions of a string with values from an array of objects: Input String: $string1 = 'SELECT * FROM TABLE A WHERE COL1 = #1 AND COL1 = #2;' In the following example I need t...