The above solutions with the clipboard should work just fine.
Just to note however, the complexity of needing to send shift in the other solutions should only ever apply if you're using "Global Send Key Event". If you just use "Global Send Keys", it should send as-is. So if your data variable value looks something like "Th!s!sN0t@P@55w0rd!", that should have no issues going through. (Side note, please don't use this as an actual password. :P)
------------------------------
Ami Barrett
Lead RPA Software Developer
Solai & Cameron
America/Chicago
------------------------------