• +91-8376990324
  • amitdsy@gmail.com
Home • • Convert Comma Separated String to a List Using Apex

Convert Comma Separated String to a List Using Apex

Salesforce provides String class which can be used to work with string. You can use the Split method.

For Example

String name = 'Biswajeet, Abhijeet, Arijeet, Subhojeet';
List<String> lstName = name.split(',');
System.debug(lstName);
Tags: ,
Apply For Trainer