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 to replace #1 and #2 with their correlated value from the gi...