I am trying to send String as argument to VbScript. But it is not working. When I send Integers it is working. As shown below when ‘rev’ with ‘VBScript’ value it is not getting reversed. But when I send rev as Int (like 123) it is getting reversed. Please suggest.
set rev to ‘VBScript’
Set VBCode to ‘s = StrReverse(’ + rev + ‘): wScript.Echo s’
System.RunVBScript VBScriptCode: VBCode
Console.Write Message: ScriptOutput
Console.Write Message: ScriptError
Execution completed successfully.