Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
RealityV15.1Online Documentation (MoTW) Revision 7
REMOVE.POS Function (REMOVE.POS_function.htm)
Gets the current position of the internal REMOVE pointer.
X = REMOVE.POS( string)
string
Name of a string, which could be a dynamic array, whose internal REMOVE pointer position is being returned or set.
This function allows the value of the internal REMOVE pointer to be returned as a character position from the start of the string. If a string or number variable is referenced but has never been operated on by a REMOVE statement since it was assigned, it returns a position of zero - i.e. one before the start of the string. If a string or number variable is referenced that has been operated on by the REMOVE statement since it was assigned, it returns the current position. If the referenced variable cannot be converted into a string, the function will return -1 as the current position.
Refer to MultiValue Compatibility.