Brian Dunning's FileMaker Custom Functions

NameCase ( InName )

Use to proper case each part of a person's name.

  Be the first to rate this function Log in to vote

Richard DeShong   Richard DeShong - Show more from this author
Logic Tools
http://logictools.com

Share on Facebook Share on Twitter

  Sample input:
NameCase ( "DESCOMBES" )
  Sample output:
"DesCombes"

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

The Proper() function does not properly handle some names. This function attempts to do so.
You should use it separately on each name part: first, middle, last.

NOTE: There are no fixed name rules for capitalizing characters within a name. As an example, I have seen people want their lastname as "MacDonald" and another that wants "Macdonald". So there is no rule in this CF for "Mac". But all that I've come across with "Mc" want the 3rd character capitalized, except for "Mchombo" - which is why Mchombo is in the ~FixNames list.

IMPORTANT NOTE: This uses another custom function: ListExist(), which is at:
https://www.briandunning.com/cf/1701
or can be replaced by: not IsEmpty ( FilterValues ( InList ; InValue ) )

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: