If the search criterion is found more than once, the function returns the index of the first matching value. Only if Type = 0 can you search for regular expressions. If Type = 1 or the third parameter is omitted, the last value that is smaller than or equal to the search criterion is returned.
如果 type=0，仅查找完全匹配的内容。如果查找条件多次找到，则函数返回第一个匹配值的索引。只有在 Type = 0 时才允许通过正则表达式进行搜索。