This property is obsolete. See the Remarks section below. |
Description
Use the Utilities.ListSeparator
property to specify the character that is used to separate items in lists.
Declaration
Applies To
The property is applied to the following object:
Property Value
The string that holds the character used to separate items in lists.
By default, ListSeparator
holds the value specified by Regional Settings in the Windows Control Panel. To restore this value, call the GetFormatSettings
method.
Remarks
-
Utilities.ListSeparator
is obsolete and is supported for backward compatibility only. To get or set the list separator, use theaqEnvironment.GetLocaleInfo
andaqEnvironment.SetLocaleInfo
functions withLOCALE_SLIST
as the second parameter.JavaScript, JScript
var list_separator = aqEnvironment.GetLocaleInfo(LOCALE_USER_DEFAULT, LOCALE_SLIST);
Log.Message(list_separator);Python
list_separator = aqEnvironment.GetLocaleInfo(LOCALE_USER_DEFAULT, LOCALE_SLIST)
Log.Message(list_separator)VBScript
list_separator = aqEnvironment.GetLocaleInfo(LOCALE_USER_DEFAULT, LOCALE_SLIST)
Log.Message list_separatorDelphiScript
list_separator := aqEnvironment.GetLocaleInfo(LOCALE_USER_DEFAULT, LOCALE_SLIST);
Log.Message(list_separator);C++Script, C#Script
var list_separator = aqEnvironment["GetLocaleInfo"](LOCALE_USER_DEFAULT, LOCALE_SLIST);
Log["Message"](list_separator);Or, if you want to process items of a string list using locale settings, use the methods and properties of the
aqString
object. They use locale-specific date formats when parsing values. -
The name of this property coincides with the name of the
ListSeparator
property of theaqString
object that is obsolete. If you access theListSeparator
property without specifying the object name, TestComplete will use theListSeparator
property of theUtilities
object despite the fact it is obsolete. This is done for backward compatibility.
See Also
ListSeparator Property
GetListItem Method
GetListLength Method