Indy 9 | Content | Index | Reference

UpCaseFirst
Unit: IdGlobal
Returns a string with the first letter capitalized.

    function UpCaseFirst(const AStr: string): string;

Unit
IdGlobal
Parameters
const AStr: string
The value to be capitalized.
Return Value
String - The string with the initial letter capitalized.
Description
UpCaseFirst is a String function that returns a string with the first letter capitalized. All other letters in the string AStr are converted to lower case.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.