Delete all occurrences of a given character from a string.
Source position: strutils.pp line 188
function DelChars( |
const S: string; |
Chr: Char |
):string; |
const S: string; |
Chars: TSysCharSet |
):string; |
S |
|
String to delete characters from. |
Chr |
|
Character which must be deleted. |
Original string with all occurrences of the given character deleted.
S |
|
String to delete characters from. |
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. |