Activity Forums Salesforce® Discussions How to convert list of object into list of string in Salesforce?

  • How to convert list of object into list of string in Salesforce?

    Posted by Deepak on October 27, 2020 at 3:51 pm

    How to convert list of object into list of string in Salesforce?

    Ayush replied 4 years ago 2 Members · 1 Reply
  • 1 Reply
  • Ayush

    Member
    October 28, 2020 at 5:38 am

    List<Object> reqs = (List<Object>) responseObjinside3.values();
    List<string> lsstr= new List<string> ();
    for(Object a: reqs){
    lsstr.add(String.valueOf(a));
    }

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos