Language:
Русский
English
Delete (procedure)
Deletes a substring from a string.
Declaration
procedure Delete(var S: String; Index: Integer; Count:Integer);
Target
Windows, Real, Protected
Remarks
S is a string-type variable. Index and Count are integer-type expressions. Delete deletes Count characters from S starting at the Indexth position. If Index is larger than the length of S, no characters are deleted. If Count specifies more characters than remain starting at the Indexth position, the remainder of the string is deleted.