How to convert from sObject to String using Salesforce Apex Class?
To convert sObject to String in Apex, below i s the example,
Example:
public sObject searchContact;
String strObjType = String.valueOf(searchContact);
Complete Salesforce Realtime Examples
Posted in: apex,Apex Examples,convert sObject to String in Apex,Salesforce,Salesforce examples,salesforce training,String method in salesforce.
1 comments:
how to convert string value to its corresponding object
Post a Comment