pp108 : getGroupSeparator

getGroupSeparator


Returns the number group separator for the corresponding locale

Syntax

localeObject.getGroupSeparator()

Parameters

NA

Return Value


Returns the number group separator as a string

Example


The following example displays how this method is used.

importType("wcp.library.util.LocaleFormat");

importType("wcp.library.util.Locale");

var localeObject = new Locale(sLocale);//sLocale --> "en-US"
localeObject.getGroupSeparator();//Will return the gruoup seperator for locale "en-US" as ","

See Also


Locale, Locales