Range object represents a contiguous area in a document, and is defined by a starting character position and an endingcharacter position.
对象表示文档中的一个连续的区域,由一个起始字符位置和一个结束字符位置定义。
2
Create a range in which the starting character value is lower than the hyphen character and the endingcharacter value is equal to or greater than the hyphen.
创建一个范围,在该范围中,开始字符值小于连字符,而结束字符值等于或大于连字符。
3
Call this function to get the starting and endingcharacter positions of the current selection (if any) in an edit control, using either the return value or the parameters.