How to add Key Value Pair in a Dictionary variable?

Hi UiPath,

I have a quick question regarding the UiPath Dictionary Variable

I have a string below:

EU City : STRATHFIELD
EU Company : TAFE
EU Contact E-Mail : sandy.keung@matrixcni.com.au

I manage to split it using (“:”) and save it in an array

Now, my question is How can I add this as key value pair in a dictionary?

I hope this make sense to everyone.

Hope to hear from guys.

Thanks!

HI,

Can you try either of Assign activity or InvokeMethod activity as the following?

Regards,

2 Likes

Thank you @Yoichi,

it worked!

1 Like

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