RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStringBuilder.Append Method (Boolean)

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

Pascal
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: 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): TStringBuilder; overload;
C++
__fastcall TStringBuilder Append(const Boolean Value);
__fastcall TStringBuilder Append(const Byte Value);
__fastcall TStringBuilder Append(const Char Value);
__fastcall TStringBuilder Append(const Currency Value);
__fastcall TStringBuilder Append(const Double Value);
__fastcall TStringBuilder Append(const Smallint Value);
__fastcall TStringBuilder Append(const int Value);
__fastcall TStringBuilder Append(const Int64 Value);
__fastcall TStringBuilder Append(const TObject * Value);
__fastcall TStringBuilder Append(const Shortint Value);
__fastcall TStringBuilder Append(const Single Value);
__fastcall TStringBuilder Append(const AnsiString Value);
__fastcall TStringBuilder Append(const UInt64 Value);
__fastcall TStringBuilder Append(const TCharArray Value);
__fastcall TStringBuilder Append(const Word Value);
__fastcall TStringBuilder Append(const unsigned Value);
__fastcall TStringBuilder Append(const Char Value, int RepeatCount);
__fastcall TStringBuilder Append(const TCharArray Value, int StartIndex, int CharCount);
__fastcall TStringBuilder Append(const AnsiString Value, int StartIndex, int Count);

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 repeatedly appended to the end of theTStringBuilder string Count number of times.  

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

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!