I think it still wasn't clear what %q%A1 should do too. For example, when the first paramater (%A1) has this value:ghisler(Author) wrote: 2026-04-26, 06:33 UTC Thanks for the suggestions, sounds all reasonable for %Ax parameters. It's still not clear what %q%A should do.
Code: Select all
"Jack said: ""Hi there!"" and Mary said ""Hello!"""But finally the suggestion seems clear: Strip all quotes from the final end result, including quotes explicitly inserted by the user.Fla$her wrote: 2026-04-26, 07:38 UTC The task is to suppress the quotes in the required area, which will be defined by two %q:
"-par1 '%q%A' -par2 '"%O"' -par3 '%|EnVar|'%q"
I specifically indicated "%O" here to account for any source of double quotes. For this reason, the last %q is placed here before ", not after.
This means that you won't have to process each parameter separately, you will just remove all the quotes in the string between the two %q.
Every first %q in the pair will simply remove all double quotes until the next %q.

