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
Krishna B 86Krishna B 86 

Domain Name

Hi ,
I have insert record in email field of object.I want to get the only Domain Name in the email.Can you please help me.
Nubes Elite Technologies Pvt. LtdNubes Elite Technologies Pvt. Ltd
Hi Krishna,

You can try this.
if (ld.Email_Doman__c != null) {
    ld_email = ld.Email_Domain__c.split('@').get(1);
}

Thank You,
www.nubeselite.com
Development | Training | Consulting

Please mark this as solution if your problem is solved.
Krishna B 86Krishna B 86
Hi ,
I need to display of formula field. how will achieve .can you suggest me.


Regards,
Krishna