10.6.23 DeleteSubstring
DeleteSubstring deletes the characters in a string from the specified start position as far as the specified length. If a length is not specified, all characters after the start position will be deleted.
Input Parameters
StartPosition - Character at which the substring to be deleted starts.
Length - The number of characters to be deleted.
Example
In this example, if #String contained "abcd", the caption would be "acd":
#Com_owner.Caption := #String.DeleteSubstring( 2 1)