function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

sObject List to string conversion




i have a List<sObject>, by looping this list, i wanna compare the values from this list to another string list, for doing this, i have to convert the values from this list to string, so how can i achieve this functionality...?


How to convert the sObject values to string???





SFDC Learner


what do you exactly mean by converting a SObject to a string? I am confused.



i found the answer for that yaar. 

what i meant is that i have a sObject List and i am looping that list. so when looping, i want to convert each sObject List Value into string value, so for that i have posted a question here. But, now i have found the answer myself. 





SFDC Learner


Hello, what was the answer, I'm having the same issue. I would like to convert List to String.