LocaleInfo$

Purpose:

Returns various locale values for a country based on the country code/culture identifier in the first parameter.

Parameter:

String          Country code (ISO 3166-1 alpha-2, ISO 3166-1 alpha-3, ISO 3166-1 numeric-3) or culture identifier, e.g., 'US', 'USA', '840' or 'en-US'. Default: System setting

Number       Desired return value (see the documentation for the Windows API function 'GetGeoInfo' or in the Knowledgebase)

Return value:

String

Example:

LocaleInfo$("en-US",6)        Result: "United States"