| [Overview][Resource strings][Constants][Types][Procedures and functions][Index] | 
Remove any leading or trailing characters in a set from a string and returns the result
Source position: strutils.pp line 256
function TrimSet(  | 
const S: string;  | 
const CSet: TSysCharSet  | 
):string;  | 
TrimSet performs the same action as RemovePadChars, but returns the resulting string.
None.
  | 
Trim whitespace from the ends of a string.  | 
|
  | 
Remove any leading characters in a set from a string  | 
|
  | 
Remove any trailing characters in a set from a string  | 
|
  | 
Remove any trailing or leading characters in a set from a string  | 
|
  | 
Remove any trailing characters in a set from a string and returns the result  | 
|
  | 
Remove any leading characters in a set from a string and returns the result  |