System.SysUtils.TStringBuilder.Append

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Append(const Value: Boolean): TStringBuilder; overload;
function Append(const Value: Byte): TStringBuilder; overload;
function Append(const Value: Char): TStringBuilder; overload;
function Append(const Value: Currency): TStringBuilder; overload;
function Append(const Value: Double): TStringBuilder; overload;
function Append(const Value: Smallint): TStringBuilder; overload;
function Append(const Value: Integer): TStringBuilder; overload;
function Append(const Value: Int64): TStringBuilder; overload;
function Append(const Value: TObject): TStringBuilder; overload;
function Append(const Value: Shortint): TStringBuilder; overload;
function Append(const Value: Single): TStringBuilder; overload;
function Append(const Value: string): TStringBuilder; overload;
function Append(const Value: UInt64): TStringBuilder; overload;
function Append(const Value: TCharArray): TStringBuilder; overload;
function Append(const Value: Word): TStringBuilder; overload;
function Append(const Value: Cardinal): TStringBuilder; overload;
function Append(const Value: PAnsiChar): TStringBuilder; overload;
function Append(const Value: RawByteString): TStringBuilder; overload;
function Append(const Value: Char; RepeatCount: Integer): TStringBuilder; overload;
function Append(const Value: TCharArray; StartIndex: Integer; CharCount: Integer): TStringBuilder; overload;
function Append(const Value: string; StartIndex: Integer; Count: Integer = -1): TStringBuilder; overload;
function Append(const Value: PChar; StartIndex: Integer; Count: Integer = -1): TStringBuilder; overload;

C++

TStringBuilder* __fastcall Append(const bool Value)/* overload */;
TStringBuilder* __fastcall Append(const System::Byte Value)/* overload */;
TStringBuilder* __fastcall Append(const System::WideChar Value)/* overload */;
TStringBuilder* __fastcall Append(const System::Currency Value)/* overload */;
TStringBuilder* __fastcall Append(const double Value)/* overload */;
TStringBuilder* __fastcall Append(const short Value)/* overload */;
TStringBuilder* __fastcall Append(const int Value)/* overload */;
TStringBuilder* __fastcall Append(const __int64 Value)/* overload */;
TStringBuilder* __fastcall Append(System::TObject* const Value)/* overload */;
TStringBuilder* __fastcall Append(const System::Int8 Value)/* overload */;
TStringBuilder* __fastcall Append(const float Value)/* overload */;
TStringBuilder* __fastcall Append(const System::UnicodeString Value)/* overload */;
TStringBuilder* __fastcall Append(const unsigned __int64 Value)/* overload */;
TStringBuilder* __fastcall Append(const System::DynamicArray<System::WideChar> Value)/* overload */;
TStringBuilder* __fastcall Append(const System::Word Value)/* overload */;
TStringBuilder* __fastcall Append(const unsigned Value)/* overload */;
TStringBuilder* __fastcall Append(const char * Value)/* overload */;
TStringBuilder* __fastcall Append(const System::RawByteString Value)/* overload */;
TStringBuilder* __fastcall Append(const System::WideChar Value, int RepeatCount)/* overload */;
TStringBuilder* __fastcall Append(const System::DynamicArray<System::WideChar> Value, int StartIndex, int CharCount)/* overload */;
TStringBuilder* __fastcall Append(const System::UnicodeString Value, int StartIndex, int Count = 0xffffffff)/* overload */;
TStringBuilder* __fastcall Append(const System::WideChar * Value, int StartIndex, int Count = 0xffffffff)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils TStringBuilder

Description

Appends a string representation of the supplied argument to the current character array in this TStringBuilder instance.

Use Append to append a string representation of the supplied argument to the current character array in this TStringBuilder instance.

In the case where Value is a Char, Value is a Unicode character and is repeatedly appended to the end of the TStringBuilder string Count number of times.

The two overloads that use the parameters CharCount or Count append a substring. StartIndex indicates the first character in the string Value to append and CharCount or Count specifies the number of characters to append.

See Also

Code Examples