Activity Forums Salesforce® Discussions How to convert a comma separated string into an array in Salesforce?

  • Prachi

    Member
    November 26, 2019 at 10:17 am

    Hi Yogesh,

    Use the split() Method
    You can use the JavaScript split() method to split a string using a specific separator such as comma ( , ), space, etc. If separator is an empty string, the string is converted to an array of characters.

    Thanks.

    • This reply was modified 4 years, 11 months ago by  Prachi.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos