View Full Version : Text Function


Shelly
04-27-2009, 01:44 PM
I am attempting to separate an email address from the domain, at the @ sign. I have attempted numerous Mid functions to no avail. last attempt as: Domain: Mid([Email1],[@],15)

Anyone have the answer to this, please and thanks?

HiTechCoach
04-27-2009, 02:18 PM
I am attempting to separate an email address from the domain, at the @ sign. I have attempted numerous Mid functions to no avail. last attempt as: Domain: Mid([Email1],[@],15)

Anyone have the answer to this, please and thanks?

Welcome!

I would use the INSTR() function also

try:

Domain = Mid([Email1],InSTR([Email1],"@")+1)

user = Left([Email1],InSTR([Email1],"@")-1)

Shelly
04-28-2009, 06:39 AM
HTC,

Thanks, worked perfectly! This saves me a huge amount of time, and grey hair!

HiTechCoach
04-28-2009, 12:49 PM
You're welcome!

Glad we could assist.