moveStart Method
Changes the start position of the range.
Syntax
iMoved = TextRange.moveStart(sUnit [, iCount])
Parameters
sUnit Required. String that specifies the units to move, using one of the following values:
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, such as a tab. 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. iCount Optional. Integer that specifies the number of units to move. This can be positive or negative. The default is 1.
Return Value
Integer. Returns the number of units moved.
Remarks
This feature might not be available on non-Win32® platforms. For the latest information about Internet Explorer cross-platform compatibility, wee article q172976 in the Microsoft Knowledge Base.
Applies To
[ Object Name ] Platform Version Win16: Win32: Mac: Unix: WinCE: Version data is listed when the mouse hovers over a link, or the link has focus.
See Also
Did you find this topic useful? Suggestions for other topics? write us!
© 1999 microsoft corporation. all rights reserved. terms of use.