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

Recommended Posts

  • Newbies
Posted

Hi,

Is there a reason why I can't get a calculation field to remove apostrophes from names to create logins? Substitute seems to remove everything else for me but not apostrophes. Sample included:

Substitute(firstnameimport, "'", "")

I have created nested substitutes to try and remove any extra characters that authentication on various servers may not like.

Thanks

David

Posted

It could be that the apostrophe you are trying to remove is actually a single curly quote which is a different character. Depending on what font you are using, they may look identical.

  • Newbies
Posted

Thanks for the fast response. I am now aware that I am unaware of how to insert an apostrophe! However, the single curly quote in the calculation is the same keystroke that is in the field (firstnameimport). I am on a mac (OS X). Eventually, I will import text from an access database, but at the moment I am working with a couple of records, trying to automate some of the import tasks.

David

  • Newbies
Posted

It could be that the apostrophe you are trying to remove is actually a single curly quote which is a different character. Depending on what font you are using, they may look identical.

Sorry for misunderstanding you. It seems smartquotes does need to be turned off.

David

Posted

Yes, turn off the smart quote option. Then you may have to use a nested substitute to remove all variations of the apostrophe/quote. The single curly quotes on the Mac keyboard are option-] and option-}. The apostrophe is the key to the left of the return key. A nested substitute that removes all of these is:

Substitute(Substitute(Substitute(TextField,"'",""),"

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