help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

DelChars

Delete all occurrences of a given character from a string.

Declaration

Source position: strutils.pp line 132

function DelChars(

  const S: String;

  Chr: Char

):String;

Arguments

S

  

String to delete characters from.

Chr

  

Character which must be deleted.

Function result

Original string with all occurrences of the given character deleted.

Description

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

Errors

None.

See also

DelSpace

  

Delete all occurrences of a space from a string.

DelSpace1

  

Reduces sequences of space characters to 1 space character.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505