String/text interpolation in Daml
App Development2 posts177 views4 likesLast activity Oct 2022
AR
Arne_GebertOP
Oct 2022I 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 2022I found the following solution:
show sender <> " sends an IOU to " <> show receiver