Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 5627 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi,

I have a field that imports from my email. It pulls in the email address and the name at the same time so it looks like this:

John Smith

I really need to trim this by either a calculation or a script that just goes through and processes the records so that it looks like:

[email protected]

I have to trim the name and also the < and > symbols. Any ideas?

With great appreciation!

Randy

Posted (edited)

How about:

Let([

open = Position(field; "<";1;1);

close = Position(field;">";1;1);

start = open+1;

end = close - open -1;

address = Middle(field; start; end)

];

address

)

PS Which upon further review of the thread is pretty much what comment referred to, though perhaps a little more explicit and "copy and pasteable".

Edited by Guest

This topic is 5627 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.