TPascalCodeGenerator.PrettyPrint¶
Format string with proper capitalization
Declaration¶
Source position: pascodegen.pp line 90
public
function TPascalCodeGenerator.PrettyPrint(const S: string) : string;
Description¶
PrettyPrint formats a string by capitalizing the first character and leaving the rest unchanged. If the input string is empty, it returns an empty string.