Returns the substring of a specified length that appears at the start of a string.
function LeftStr(const AText: AnsiString; const ACount: Integer): AnsiString; overload; function LeftStr(const AText: WideString; const ACount: Integer): WideString; overload;
AnsiString LeftStr(const AnsiString AText, const int ACount); BSTR LeftStr(const BSTR AText, const int ACount);
StrUtils
LeftStr returns the leading characters of AText up to a length of ACount characters.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|