AMI Interview Question

How to convert stringto list