DELTA Function

── DELTA ── ( ──<pointer expression>── , ──<pointer expression>── ) ───┤

The DELTA function returns, as an integer value, the number of characters between the character position referenced by the first pointer expression and the character position referenced by the second pointer expression. The value is calculated as follows: the character position referenced by the first pointer expression is subtracted from the character position referenced by the second pointer expression.

For a function that returns the number of characters between the character position referenced by a pointer expression and the beginning of the array row, see OFFSET Function. For a function that returns the number of characters between the character position referenced by a pointer expression and the end of the array row, see REMAININGCHARS Function.