Activity › Forums › Salesforce® Discussions › How to convert a comma separated string into a list in Salesforce? Tagged: Lists, Salesforce String, Split Method, Strings Salesforce® Discussions How to convert a comma separated string into a list in Salesforce? Posted by Yogesh on November 22, 2019 at 7:45 AM i have to convert a comma seperated string into a list. Nikita replied 6 years, 5 months ago 2 Members · 1 Reply ListsSalesforce StringSplit MethodStrings 1 Reply Nikita Member November 22, 2019 at 8:03 AM Hi Yogesh, Salesforce provides String class which can be used to work with string. You can use the Split method For Example String alpha = 'A, B, C, D'; List<String> lstAlpha = alpha.split(','); System.debug(lstAlpha); Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me