HBCMS更多的中文手册参考:

moveStart Method

DHTML文档教程

Changes the start position of the range.

dhtml语法

iMoved = TextRange.moveStart(sUnit [, iCount])

Parameters

sUnit Required. Stringthat specifies the units to move, using one of the following values:
characterMoves one or more characters.
wordMoves one or more words. A word is a collection of characters terminated by a space or other white-space character, such as a tab.
sentenceMoves one or more sentences. A sentence is a collection of words terminated by a punctuation character, such as a period.
texteditMoves to the start or end of the original range.
iCount Optional. Integerthat specifies the number of units to move. This can be positive or negative. The default is 1.

Return Value

Integer that returns the number of units moved.

Remarks

This feature might not be available on non-Microsoft® Win32® platforms.

是否符合公共标准

There is no public standard that applies to this method.

Applies To

TextRange

更多语法参考

move, moveEnd