Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/String/text interpolation in DamlForum ↗

String/text interpolation in Daml

App Development2 posts177 views4 likesLast activity Oct 2022
AR
Arne_GebertOP
Oct 2022

I have a function that takes two Partys sender and receiver as arguments and would like to create a string “$sender sends an IOU to $receiver”.

How can I achieve this in Daml?

AR
Arne_Gebert
Oct 2022

I found the following solution:

show sender <> " sends an IOU to " <> show receiver
← Back to Discussions