When trying to use Invoke vbScript activity and passing a string and input arguments. There arguments passed are not taken as one argument each…but if we have a space separated string in the argument each word is taken as one argument which is not expected. This has been testing in version 22.4 and the latest as well on community the behavior is same. Sample code below and the input arguments and the output
the aim of declaring an argument as string is to give each sentence as separate argument to script…the double quotes that we already provide to make it a string are to be escaped …as they are not being escaped we had to manually include few more double quotes in it