( string string, int
pos, int count )
A result string.
string – a string that needs to be processed.
pos – the zero-based
index of the first character to delete.
count – the number of characters to be removed.
Call this function to delete a character or
characters from a string starting with the character at pos.
If count is longer than the string, the remainder of the
string will be removed.
The following example demonstrates
the use of Delete.
string s = Delete("Hello, World", 5, 1)
Println("New string is ", s)
Output of the example script:
string is Hello World