• #51459
     Divya #11

    what is split() in salesforce?

    for what purpose it is used and what is its syntax?

    Salesforce | Adam Adam #48

    Hiya, what context are you refering to?  Have you found it in some code?

    I assume you are making reference to APEX code?  Ultimately it is used as a way to break a string/text value down into a list.

    There is a good example on the Salesforce developer forums here, where the Ravindra provides an example of breaking an address down into its smaller components.

    If you want to see the official documentation for the method, you can use the APEX Developer Guide (though if you are not a developer this link may be a little daunting): string method.split().

    Hope that helps!


Viewing 2 posts - 1 through 2 (of 2 total)

Please to reply to this topic.


We're not around right now. But you can send us an email and we'll get back to you, asap.


About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2019 Forcetalks. All Right Reserved.

Log in with your credentials


Forgot your details?