Delete part of a string
Member of String Intrinsic Functions (PRIM_LIBI.ICommonStringIntrinsics)
|Result||*Result (Optional)||String||Resulting string|
|StartPosition||*Input||Integer||Position at which to start deleting|
|Length||*Input (Optional)||Integer||Number of bytes to delete|
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.
In this example, if #String contained ?abcd?, the result would be ?acd?.
#Com_owner.Caption := #String.DeleteSubstring( 2 1)
All Component Classes
Febuary 18 V14SP2