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 7376 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

hi-

I have an urgent need for some calculation help. I have a book title field in my records. I need to create a calulation field that removes all the spaces and puncuation in the titles and combines all the words. For instance, I have a title of:

U.S. Communication services market : overview and future outlook.

NEED CONVERTED TO:

USCommunicationservicesmarketoverviewandfutureoutlook

Is this possible? I need it to function the same no matter what the title or punctuation.

Posted

How about Filter( titlefield; "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" ) ?

Posted

Hmm... Ive never used the filter method. I'll try that.

I did do the following calculation and it worked well. Is this an ugly solution?

Substitute(Substitute(Substitute(Substitute(Substitute(Substitute(Substitute(Substitute(Substitute(Substitute(Substitute(TI;

"("; ""); ")"; ""); "."; ""); "-"; ""); " "; ""); "/"; ""); ":" ; ""); "^A" ; ""); "?" ; ""); ";" ; ""); "," ; "")

Posted

In version 7, yes. Substitutes can be combined in 7.

Substitute( TI; ["("; ""]; [")"; ""]; ["."; ""]; ["-"; ""]; [" "; ""]; ["/"; ""]; [":"; ""]; ["^A"; ""]; ["?"; ""]; [";"; ""]; [","; ""] )

I think Filter would still be faster.

What is the ^A for though?

This topic is 7376 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.