RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AnsiStringBase::SubString Method

Returns a specified substring of the System::AnsiStringBase.

Pascal
function SubString(index: Integer; count: Integer): AnsiStringBase;
C++
__fastcall AnsiStringBase SubString(int index, int count) const;

System::AnsiStringBase::SubString returns a new System::AnsiStringBase that is a substring of this System::AnsiStringBase. The substring contains count characters beginning at index. 

 

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