Method XbpMLE():delete() Foundation

Deletes characters at a specific position in the edit buffer.

Syntax
:delete( <nPos>, <nChars> ) --> nDeletedChars
Parameters
<nPos>
<nPos> is a numeric value specifying the start position in the edit buffer where <nChars> characters are to be deleted.
<nChars>
<nChars> is a numeric value specifying the number of characters to delete.
Return

This method returns a numeric value indicating the number of characters actually deleted.

Description

The method :delete() allows the edit buffer of the XbpMLE object to be directly manipulated and specific characters to be deleted. The start position and number of characters are specified (similar to the function Stuff() that deletes a specific number of characters from a specific place in a character string).

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.