[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'System' (#rtl) |
Delete part of a string.
Source position: line 0
procedure Delete( |
var s: shortstring; |
index: SizeInt; |
count: SizeInt |
); |
var S: AnsiString; |
Index: SizeInt; |
Size: SizeInt |
); |
var S: WideString; |
Index: SizeInt; |
Size: SizeInt |
); |
Delete removes Count characters from string S, starting at position Index. All characters after the delected characters are shifted Count positions to the left, and the length of the string is adjusted.
None.
Copy |
|
Copy part of a string. |
|
Search for substring in a string. |
|
|
Insert one string in another. |
Program Example15; { Program to demonstrate the Delete function. } Var S : String; begin S:='This is not easy !'; Delete (S,9,4); { S:='This is easy !' } end.
No notes exist for this page yet.