Dec 3, 2020 #1 Moss100 Technical User Joined Aug 10, 2004 Messages 586 Location GB Hello, I have a field [EmailAdd]. I want to extract the email address after the @ for each record. So mandy56@hotmail.com would just return hotmail.com How do I approach this? Many thanks Mark
Hello, I have a field [EmailAdd]. I want to extract the email address after the @ for each record. So mandy56@hotmail.com would just return hotmail.com How do I approach this? Many thanks Mark
Dec 3, 2020 Thread starter #2 Moss100 Technical User Joined Aug 10, 2004 Messages 586 Location GB This seems to work: Mid([EmailAdd],InStrRev([EmailAdd],"@")+1) Regards Mark Upvote 0 Downvote
Dec 4, 2020 #3 dhookom Programmer Joined Jun 24, 2003 Messages 22,561 Location US I would typically start from the left: Code: Mid([EmailAdd],InStr([EmailAdd],"@")+1) Duane Minnesota Hook'D on Access MS Access MVP 2001-2016 Upvote 0 Downvote
I would typically start from the left: Code: Mid([EmailAdd],InStr([EmailAdd],"@")+1) Duane Minnesota Hook'D on Access MS Access MVP 2001-2016