System.SysUtils.TStringHelper.TrimRight

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function TrimRight: string; overload;
function TrimRight(const TrimChars: array of Char): string; overload;

Properties

Type Visibility Source Unit Parent
function public System.SysUtils.pas System.SysUtils TStringHelper

Description

Trims the given trailing characters from a string.

This method is overloaded.

The TrimChars parameter allows you to specify the characters (in the form of an array of characters) to trim from the end of a string.

See Also