RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStringBuilder.ToString Method ()

Returns a string representation of the character array contained in this TStringBuilder instance.

Pascal
function ToString: string; override; overload;
function ToString(StartIndex: Integer; StrLength: Integer): string; overload; reintroduce;
C++
virtual __fastcall AnsiString ToString();
__fastcall AnsiString ToString(int StartIndex, int StrLength);

Use ToString to create a string representation of the character array contained in this TStringBuilder instance.  

StartIndex and StrLength specify a substing of the character array to convert. 

 

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