DeleteBackWord

Syntax

DeleteBackWord

Remarks

Deletes the word immediately preceding the insertion point or the selection, but does not place it on the Clipboard.

If there is a selection, DeleteBackWord behaves as if there were an insertion point; the statement does not delete the selection but deletes the word immediately preceding it. If the insertion point is in the middle of a word, DeleteBackWord deletes the characters between the insertion point and the start of the word.

Note that if there is a space character between the word and the insertion point, DeleteBackWord deletes the space character as well as the word. Also, if the insertion point follows a punctuation mark, such as a comma or period, DeleteBackWord deletes the punctuation mark only.

See Also

DeleteWord, EditClear, EditCut, WordLeft