Print Dictionary(string, string[])

Hi everyone,

I’m trying to implement a Dictionary with a string key and an array of string in values (New Dictionary(of String, String())).

I think I don’t have a problem for initialize and fill my dictionary, but I’m trying to write in the console the results and I have some trouble.

So, I have first “for each” to browse my Key and in this, I have a second “for each” for my array of string, but it doesn’t work. I don’t know how I can loop in my array of string to print them.

Someone has one idea to help me :slight_smile:

Sorry for my poor English

@tommyspiff
Welcome to the forum

e.g following dict:

can be logged with newline and | seperator with folloing statement:

find starter help here:
Sequence2.xaml (6.6 KB)

1 Like

Thanks for your answer :slight_smile:

There is no solution to have a more “generic” process?
I don’t know the number of values in my array

it is generic and will take all array items and all dictionary entries. Just do a little play with. In case of it is not working as expected then let us know.

Kindly note: These one liners are the alternates to for each constructs, which could also do the loggings

1 Like

My bad, I tried again and indeed it is generic. :slight_smile:
I will little play with. :wink:
Thank you very much :blush:

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