cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Assembling a string with multiple Variables - String Interpolation

tshoemaker
Deputy Chef III
Deputy Chef III

Wondering if Workato has the concept of String Interpolation similar to C# where you can assemble multiple strings into one string.

For example, I have the need to create a text string that says:

"Your Part is: ABC123, Red Widget, and it will deliver on Feb 1 2022"

This is made up of three variables PartNum, PartDesc, and DelDate.

I know that I could use a formula such as:

"Your Part is: "+PartNum+", "+PartDesc+", and it will deliver on: "+DelDate

BUT.. in C# and other languages there is the concept of String Interpolation. The above could be written like this:

"Your Part is: {0}, {1}, and it will deliver on: {3}",PartNum, PartDesc, DelDate

Is this a thing in Workato Forumlas?

10 REPLIES 10

Ahhhโ€ฆ now I get itโ€ฆ you donโ€™t NEED to do string interpolation to get it to work. You can simply insert the variables into he string and it works. I was overthinking it.

You might want to include an example of it working that way in the string section of the guideโ€ฆ I was way overthinking it.