[Overview][Resource strings][Constants][Types][Procedures and functions][Index] Reference for unit 'strutils' (#rtl)

TrimSet

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

Declaration

Source position: strutils.pp line 195

function TrimSet(

  const S: String;

  const CSet: TSysCharSet

):String;

Description

TrimSet performs the same action as RemovePadChars, but returns the resulting string.

Errors

None.

See also

Trim

RemoveLeadingChars

  

Remove any leading characters in a set from a string

RemoveTrailingChars

  

Remove any trailing characters in a set from a string

RemovePadChars

  

Remove any trailing or leading characters in a set from a string

TrimRightSet

  

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

TrimLeftSet

  

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

The latest version of this document can be found at lazarus-ccr.sourceforge.net.