TStringHelper.Trim
Strips a set of trim characters from the beginning and end of the string.
Declaration
Source position: syshelph.inc line 188
public
function Trim : string; Overload;
function Trim(const ATrimChars: Array of Char) : string; Overload;
Description
Trim returns the string (Self), removing all characters occurring in ATrimChars from the start and end of the string. If ATrimChars is not specified, all characters with ASCII code 32 or lower are assumed.
See also
Name | Description |
---|---|
Trim | Trim whitespace from the ends of a string. |
TStringHelper.TrimLeft | Strips a set of trim characters from the beginning of the string. |
TStringHelper.TrimRight | Strips a set of trim characters from the end of the string. |