Skip to content

DelChars

Delete all occurrences of a given character from a string.

Declaration

Source position: strutils.pp line 174

  function DelChars(const S: string; Chr: Char) : string;

Description

DelChars returns a copy of S with all Chr characters removed from it.

Errors

None.

See also

Name Description
DelSpace Delete all occurrences of a space from a string.
DelSpace1 Reduces sequences of space characters to 1 space character.