Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

Locale.getListSeparator

Retrieves the character used to separate list items in the current locale.

Syntax

public String getListSeparator()

Return Value

Returns a String object containing the character used to separate list items.

Remarks

Use this method to determine the proper character to use for the current locale to separate items in a list of items. For example, a comma is used in many locales.

See Also   setListSeparator