mattc Posted April 20, 2006 Posted April 20, 2006 Hello All I've searched but not found an answer so apologies if this is old territory! I need to parse email addresses in FMP7 giving me just the domain, i.e. = thisdomain.co.uk I thought I found the answer using a substitue command to replace the @ symbol with a space within a rightwords function. This is fine until you get a domain with a hyphen in the middle "-", where you only get the second half of the domain. Is there a better way?? Thanks Matt
Kent Searight Posted April 20, 2006 Posted April 20, 2006 Try: Right(emailField;Length(emailField) - Position (emailField;"@";1;1))
mattc Posted April 20, 2006 Author Posted April 20, 2006 That's great - worked straight away. Must improve my function knowledge!
Recommended Posts
This topic is 6854 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