Converting a string to a table.

Hi, I have been having some issues with a client data system I have been working on. It creates a table, saves it as a string and needs to convert it back after reading the string.
I have tried a few ways to convert it back but they don’t seem to work.
Any help is appreciated, thanks.

Loop through the string length and place each character into a table.

util.TableToJSON
util.JSONToTable

Thanks.