System.SysUtils.TrimRight
Delphi
function TrimRight(const S: string): string;
C++
extern DELPHI_PACKAGE System::UnicodeString __fastcall TrimRight(const System::UnicodeString S)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
Description
Trims trailing spaces and control characters from a string.
TrimRight returns a copy of the string S with trailing spaces and control characters removed.