+ Start a Discussion
Pankaj Kumar 456Pankaj Kumar 456 

How to convert Schema.DisplayType to String in apex Class

lkatneylkatney
Hi,

Please check below code and see if this works for you
String stringIntance = String.valueOf(Schema.DisplayType.address);
System.debug(stringIntance);

Thanks