Unit 'pascodegen' Package
[Overview][Constants][Types][Classes][Index] [#fcl]

TPascalCodeGenerator.PrettyPrint

Format string with proper capitalization

Declaration

Source position: pascodegen.pp line 90

public function TPascalCodeGenerator.PrettyPrint(

  const S: string

):string;

Arguments

S

  

Input string to format

Function result

Formatted string with proper capitalization

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.


Documentation generated on: Dec 19 2025