TrimRightSet

Remove any trailing characters in a set from a string and returns the result

Declaration

Source position: strutils.pp line 248

  function TrimRightSet(const S: string; const CSet: TSysCharSet) : string;

Description

TrimLeftSet performs the same action as RemoveTrailingChars , but returns the resulting string.

Errors

None.

See also

Name Description
RemoveLeadingChars Remove any leading characters in a set from a string
RemovePadChars Remove any trailing or leading characters in a set from a string
RemoveTrailingChars Remove any trailing characters in a set from a string
TrimRight Trim whitespace from the end of a string.
TrimLeftSet Remove any leading characters in a set from a string and returns the result
TrimSet Remove any leading or trailing characters in a set from a string and returns the result