The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Class: none
Declaration: function CapitalizeString (InString: string): string;

The function CapitalizeString returns a string whose words are capitalized (first character is an upper case letter). The parameter InString contains the string to be converted.

Hint: Please note that the function CapitalizeString does not change other than the first characters after word separators. Thus, an all upper case string would not be changed at all. In order to capitalize any string you have to convert the string first to lower case letters.

Last Update: 2012-Oct-20