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
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