Reply
Highlighted

concatenate variables within a string

buddylee7
Techie
Posts: 8
4819     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: 267
4820     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

buddylee7
Techie
Posts: 8
4820     0

Do you have the answer to my question? Smiley Wink

Re: concatenate variables within a string

Adviser
Posts: 411
4820     0

Please try this:

 

Action-command:

     hostname ${value}_xyz

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

Re: concatenate variables within a string

buddylee7
Techie
Posts: 8
4820     0

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

Showing results for 
Search instead for 
Do you mean 

Recommended for You