Reply

concatenate variables within a string

Techie
Posts: 8
6313     0

I was just curious what I could to to concatenate varibles within a string.

 

Example: 

 

Script-Variables:

     $value word "Value"

 

Action-command:

     hostname $value_xyz

 

I want to have "_xyz" to follow the value in every instance.

Re: concatenate variables within a string

Adviser
Posts: 244
6314     0

Hey BuddyLee,

 

Wanted to let you know we moved your thread from "community suggestions" to the API Integration area.  Let us know how we can help.

 

Eric

If you appreciate my efforts, please give me a kudo ↓ or Accept as solution to help others find it faster.

Re: concatenate variables within a string

Techie
Posts: 8
6314     0

Do you have the answer to my question? Smiley Wink

Re: concatenate variables within a string

Adviser
Posts: 463
6314     0

Please try this:

 

Action-command:

     hostname ${value}_xyz

Follow me on LinkedIn: https://www.linkedin.com/in/sifbaksh
Twitter: https://twitter.com/sifbaksh

https://sifbaksh.com

Re: concatenate variables within a string

Techie
Posts: 8
6314     0

Thank you.  I will give that a shot and post my results.

Showing results for 
Search instead for 
Did you mean: 

Recommended for You