I have VBA/VBS scripts that are deliberately obfuscated by the use of character concantenation.

 Code:
$a='StrReverse(Chr(84) & Chr(69)& Chr(71)), StrReverse(Chr(103) & Chr(110)& Chr(112)& Chr(46)& Chr(54)& Chr(53)& Chr(56)& Chr(49)& Chr(53)& Chr(48)& Chr(55)& Chr(47)& Chr(117)& Chr(114)& Chr(46)& Chr(99)& Chr(105)& Chr(112)& Chr(101)& Chr(118)& Chr(97)& Chr(115)& Chr(47)& Chr(47)& Chr(58)& Chr(112)& Chr(116)& Chr(116)& Chr(104))'


I then need to convert the VBA/VBS Expression to a KiXtart Expression.

 Code:
StrReverse(Chr(84)+Chr(69)+Chr(71))+" "+StrReverse(Chr(103)+Chr(110)+Chr(112)+Chr(46)+Chr(54)+Chr(53)+Chr(56)+Chr(49)+Chr(53)+Chr(48)+Chr(55)+Chr(47)+Chr(117)+Chr(114)+Chr(46)+Chr(99)+Chr(105)+Chr(112)+Chr(101)+Chr(118)+Chr(97)+Chr(115)+Chr(47)+Chr(47)+Chr(58)+Chr(112)+Chr(116)+Chr(116)+Chr(104))


Then I want to evaluate it but what I get is the above as just a string of characters.

How do I go from a string to something that can actually be evaluated and not just treated as a string of characters ?

I tried - Execute() and that does evaluate it as an expression but the result is a boolean for success or failure. The result of the expression is shown in the command console but I want the result of the evaluated expression to then be made a string I can easily manipulate and copy.


** Note. I have created a function StrReverse() like what exists in VBS/VBA.