FireDAC.Stan.Util.FDPadR
Delphi
function FDPadR(const AStr: String; ALength: Integer): String;
C++
extern DELPHI_PACKAGE System::UnicodeString __fastcall FDPadR(const System::UnicodeString AStr, int ALength);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FireDAC.Stan.Util.pas FireDAC.Stan.Util.hpp |
FireDAC.Stan.Util | FireDAC.Stan.Util |
Description
Formats the text by adding spaces or reducing the text.
If the length of the text specified by AStr is greater than the value specified by ALength, then FDPadR copies only the first ALength characters, otherwise it introduces spaces to the right so that the text length becomes equal to the value specified by ALength.