JCL Help:TrimStringsRight@TJclAnsiStrings@Boolean
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: TrimStringsRight Function
[+] JclAnsiStrings.pas Functions
Search in JCL Help
Search in all projects
Summary
Right trims all strings in a stringlist.
Pascal
procedure TrimStringsRight(const List: TStrings; DeleteIfEmpty: Boolean = True);
procedure TrimStringsRight(const List: TJclAnsiStrings; DeleteIfEmpty: Boolean = True);
Parameters
Parameters | Description |
const List: TStrings | The stringlist whose contents to right trim. |
DeleteIfEmpty: Boolean = True | If True and a list entry is empty, or trimming it results in an empty string, the entry is deleted from the list. |
Description
TrimStringsRight right trims all strings in the specified stringlist using the standard Delphi TrimRight procedure. If an entry in the list is empty or trimming it causes it to become empty, the entry is optionally deleted from the list depending on the DeleteIfEmpty parameter.
See Also
About
Unit
Donator
Anthony Steele
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page