Show: Delphi C++
Display Preferences

System.AnsiStrings.RightBStr

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function RightBStr(const AText: AnsiString; const AByteCount: Integer): AnsiString;

C++

extern DELPHI_PACKAGE System::AnsiString __fastcall RightBStr(const System::AnsiString AText, const int AByteCount);

Properties

Type Visibility Source Unit Parent
function public
System.AnsiStrings.pas
System.AnsiStrings.hpp
System.AnsiStrings System.AnsiStrings

Description

Returns the substring of a specified number of bytes that appears at the end of a string.

RightBStr returns the trailing bytes of AText up to a length of AByteCount bytes.

Note: RightBStr assumes all characters are one byte-long, and does not behave correctly if AText contains multi-byte characters. To handle all strings correctly, use RightStr.

See Also

Personal tools
RAD Studio 10.2 Tokyo
In Other Languages
Previous Versions
Assistance