Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

String Passed to Script that has spaces

$
0
0

Hello community,

 

I'm trying to work through an issue where my string has a space in it but I can't seem to figure out how to pass the entire string to my script.

 

I'm using a scriptable task that is passed to "invoke an external script". The string I'm passing is "Server Name" which works fine if I pass the string with the ' ' in the input. But how do I include those by default?

 

Scriptable Task contents

scriptarg = "-ServerName" + " " + ServerName;


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>