2022.2

Table Of Contents
Count()
Returns the number of strings in the list.
Return value: Integer. Number of strings in the list. If the list does not contain any string, the return
value is 0.
Delete(Integer Index)
Removes a single string from the list.
Index
0-based index of the string to remove.
Exceptions
l
EOleException Index is lower than 0 or higher than Count-1.
Find(const String Key)
Finds a string and returns its position in the list.
Key
String to find.
Return value: 0-based index (integer) of the string. If the string is not found, the method returns -1.
Key(Integer Index)
Returns the key at the specified index.
Index
0-based index (integer) of the string to retrieve.
Return value: String. Value of the key at the specified index.
Exceptions
l
EOleException Index is lower than 0 or higher than Count-1.
Sort()
Sorts the items in the list according to their key. The sort performed is a simple alphabetical string sort:
30 comes after 200. The strings are expected to be formatted correctly to return the desired order (ex:
"030", "200" will be sorted with 30 first and then 200).
SortByValue()
Sorts the items in the list according to their value instead of the key.
Page 191