Contents Index Topic Contents | ||
Previous Topic: javaEnabled Next Topic: moveBy |
move
Description
Collapses the given text range and moves the empty range by the given number of units.
Syntax
long = object.move(unit [, count])
Parameter Description unit String specifying the units to move. Can be one of the following:
character Moves one or more characters. word Moves one or more words. A word is a collection of characters terminated by a space or other white-space character. sentence Moves one or more sentences. A sentence is a collection of words terminated by a punctuation character, such as a period. textedit Moves to the start or end of the original range. count Optional. Integer specifying the number of units to move. This can be positive or negative. When omitted, defaults to 1. Return Value
Returns the actual number of units moved.
Remarks
This feature might not be available on non-Win32 platforms. See article Q172976 in the Microsoft Knowledge Base for the latest information on Internet Explorer cross-platform compatibility.
Applies To
See Also
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.