mattc Posted April 20, 2006 Share 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 Link to comment Share on other sites More sharing options...
Kent Searight Posted April 20, 2006 Share Posted April 20, 2006 Try: Right(emailField;Length(emailField) - Position (emailField;"@";1;1)) Link to comment Share on other sites More sharing options...
mattc Posted April 20, 2006 Author Share Posted April 20, 2006 That's great - worked straight away. Must improve my function knowledge! Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6553 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