Use dynamically generated string as console command with ExecuteConsoleCommand node?

Hey community,
I’m trying to dynamically change the screen resolution at runtime with the ExecuteConsoleCommand node, like this:

This doesn’t work, while a hard-written “r.SetRes 2560x1440f” does. I’ve tried comparing the strings, and the comaparison returns true. It also logs

Cmd: r.SetRes 2560x1440f
r.SetRes = “2560x1440f”

as expected, but with no actual change to the resolution.

Any help would be much appreciated!