I want to send a list through UDP/TCP, but since they support string list only, I need to convert the list into string and convert it back.

My list is like 

```
['S1','S2','H1','C1','D8']

```

I know I can use 

```
string_ = ''.join(list_) 

```

to convert it into string.

But how to convert it back?

Or there is another way I can use UDP/TCP to send a list?