JCL Help:StrTrimCharsRight@AnsiString@TSysCharSet

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Removes characters from the right side of supplied string.


Pascal

 function StrTrimCharsRight(const S: string; const Chars: TCharValidator): string; overload;
function StrTrimCharsRight(const S: string; const Chars: array of Char): string; overload;
function StrTrimCharsRight(const S: AnsiString; const Chars: TSysCharSet): AnsiString;


Parameters

Parameters Description
const S: string The string to trim.


Return Value

The trimmed string.


Description

StrTrimCharsLeft removes all characters defined in the "Chars" set from the right side of the string.


About

Unit

JclAnsiStrings


Donator

Leonard Wennekers


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