Sign in Join
FPDoc Onlineexperiment

TrimSet function

In unit StrUtils

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

Declaration

pascal
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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.