skuli Posted March 26, 2002 Posted March 26, 2002 Hi, I'm hoping someone can give me a hand and show me how I can parse and email address into 2 fields. I need to get all the data before the "@" sign into the first field and everything after the "@" into the second. I can get this to work if it is a simple email address, but not if it is something like: name.lastname@ xyz.com or name_lastname @xyz.com or [email protected]. Any help is appreciated.
Fitch Posted March 26, 2002 Posted March 26, 2002 Left(email, Position(email, "@", 1, 1) - 1) Right(email, Length(email) - Position(email, "@", 1, 1))
skuli Posted March 26, 2002 Author Posted March 26, 2002 Well, I was close... Thank you so much for your help.
Recommended Posts
This topic is 8282 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now