May 7, 20187 yr Firstly, sorry if this is the wrong section of the forum but this was the best fit I could find. I am currently using fmLog (https://app.works/tag/fmlog/) to keep an audit list for our dbs. It works great, except with certain characters. I believe this is the part that should be validating (removing) some chars that will break the script except it doesn't seem to be working. Let ( [ n = Substitute ( Get (ScriptParameter) ; "¶" ; "\¶" ); prefix = "$" ; e = PatternCount ( n ; " = " ) = 0 ; string = Substitute ( n ; [ " ; " ; "\"; " & prefix ] ; [ " = " ; "= \"" ] ) ] ; "Let ( [ " & prefix & string & "\" ] ; \"\" )" ) I know that a semicolon and equal sign will break it, but isn't this exactly what the above substitute is accounting for? Or am I missing something? Thanks.
Create an account or sign in to comment