How to use an array of string to change the output of a message?

I have a workflow that extracts the contents from an already populated notepad file (see below) and I have it save the contents of the notepad file in an array of strings. I want to write a message box that says “You can access the url’s [here] and [here] and [here]…” etc. The issue is that there are sometimes 3 urls, 2, urls, or just 1 that I need to extract. How do I make a dynamic message box that just includes the url’s that exist in the notepad file?

one a few options
two values:

one value:

String.Format("To access the files go {0}",String.Join(" and ",YourArrayVar) )

Thank you! that works perfectly

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.