DCH top-level constant
Delete Character.
Representation: CSI n \x50
Parameter default value: n = 1
If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION, DCH causes the contents of the active presentation position and, depending on the setting of the CHARACTER EDITING MODE (HEM), the contents of the n-1 preceding or following character positions to be removed from the presentation component. The resulting gap is closed by shifting the contents of the adjacent character positions towards the active presentation position. At the other end of the shifted part, n character positions are put into the erased state.
The extent of the shifted part is established by SELECT EDITING EXTENT (SEE).
The effect of DCH on the start or end of a selected area, the start or end of a qualified area, or a tabulation stop in the shifted part is not defined by Standard.
If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA, DCH causes the contents of the active data position and, depending on the setting of the CHARACTER EDITING MODE (HEM), the contents of the n-1 preceding or following character positions to be removed from the data component. The resulting gap is closed by shifting the contents of the adjacent character positions towards the active data position. At the other end of the shifted part, n character positions are put into the erased state.
Implementation
const String DCH = 'P';