Apex - Convert comma-separated String to a List
Salesforce provide String class which can be used to work with string. In your case you can use Split method
String alpha = 'A, B, C, D';
List<String> lstAlpha = alpha.split(',');
System.debug(lstAlpha);