Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Converts text to capital case letters.

Component Version macOS Windows Linux Server iOS SDK
Text 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Text.CapitalCase"; Text )   More


Parameter Description Example
Text The text to process. "hello WORLD"


Returns text or error.


Converts text to capital case letters.
First letter of a word is made upper case, all others to lower case.
Often people enter in forms all kinds of upper/lower case letters and you may want to normalize using this function.

See also Text.UpperCase, Text.LowerCase and Text.RemoveAccents.

This function works on pure text, so any text style is lost.



MBS( "Text.CapitalCase"; "HAMBURG" )
MBS( "Text.CapitalCase"; "HAMBurg" )

Example result: Hamburg

Fix Schleswig-Holstein:

MBS( "Text.CapitalCase"; "SCHLESWIG-HOLSTEIN" )

Example result: Schleswig-Holstein

See also

Example Databases

Blog Entries

This function checks for a license.

Created 10th March 2015, last changed 28th January 2022

Text.AppendTextFile - Text.Character