Cast CSV String as Dictionary

Using the uipath activities, you’d likely want to cast it to a datatable.
You may want to check out the Generate Data Table activity. It takes a string in and you can specify the separators to get a datatable representation of the csv data.
If you make your unique key the primary column of the data table you can also use it like you would a dictionary with the Find method. See here for a primary key example.