I am trying to get the first and last name from email address field in Apex code but I am only getting the first name not able to get the last name can anyone please help me.
For an example First.last@abc.com
I need to get a string which will be having "First last"
Thanks