Returns the substring of a specified number of bytes that appears at a specified position in a string.
function MidBStr(const AText: AnsiString; const AByteStart: Integer; const AByteCount: Integer): AnsiString;
AnsiString MidBStr(const AnsiString AText, const int AByteStart, const int AByteCount);
MidBStr returns a substring AByteCount bytes beginning at AByteStart bytes.
If AByteStart is larger than the length of AText in bytes, MidBStr returns an empty string.
If AByteCount specifies more bytes than are available, only the available bytes are returned.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|