FireDAC.Stan.Util.FDPadL
Delphi
function FDPadL(const AStr: String; ALength: Integer): String;
C++
extern DELPHI_PACKAGE System::UnicodeString __fastcall FDPadL(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 FDPadL copies only the first ALength characters, otherwise it introduces spaces to the left so that the text length becomes equal to the value specified by ALength.