|
VBscript
Array
More detial or script code example
UBound(array name[,the largest dimension of the array])
UBound 读取指订的数组中最大的注标 Description: UBound(arrayX)
returns the largest dimension size
UBound 数组的极大( Up Bound)
LBound 数组的极小(Low Bound)

VBscript
Array
More detial or script code example
Split(expression[,delimiter[,count[,compare]]])
可将一数据格中的长字符串或数据加以分割数组化,以方便取用 Description: expression
Required. String expression containing substrings and
delimiters. If expression is a zero-length string,
Split returns an empty array, that is, an array with
no elements and no data.
delimiter
Optional. String character used to identify substring limits.
If omitted, the space character (" ") is assumed to be
the delimiter. If delimiter is a zero-length string,
a single-element array containing the entire
expression string is returned.
count
Optional. Number of substrings to be returned; -1 indicates
that all substrings are returned.
compare
Optional. Numeric value indicating the kind of comparison
to use when evaluating substrings. See Settings
section for values
vbBinaryCompare : 0 : Perform a binary comparison.
vbTextCompare : 1 : Perform a textual comparison.
----- compare setting not often use -----
often only use like this::
Split(expression[,delimiter])
最常使用的模式为 :: Split(expression[,delimiter]) 
VBscript
Array
More detial or script code example
Filter(Input Strings,value[,include[,compare]])
过滤出所含某特定元素并组成数组 Description: Filter(Input Strings,value[,include[,compare]])
Input Strings : The main strings
Value : to be searched value
Include : [ True ::( Default ) the array contains value ]
[ False :: the array that does not contain value ]
compare :optional
Numeric value indicating the kind of comparison
to use when evaluating substrings. See Settings
section for values
comparison same as Split
vbBinaryCompare : 0 : Perform a binary comparison
vbTextCompare : 1 : Perform a textual comparison

|