01-24-2022 07:19 PM
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?
01-25-2022 04:12 AM
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.