| [Overview][Resource strings][Constants][Types][Procedures and functions][Index] | 
Delete all occurrences of a given character from a string.
Source position: strutils.pp line 154
| function DelChars( | 
| const S: string; | 
| Chr: Char | 
| ):string; | 
| S | 
 | String to delete characters from. | 
| Chr | 
 | Character which must be deleted. | 
Original string with all occurrences of the given character deleted.
DelChars returns a copy of S with all Chr characters removed from it.
None.
| 
 | Delete all occurrences of a space from a string. | |
| 
 | Reduces sequences of space characters to 1 space character. |