Previous Page
getCode()

Solar_Locale
getCountryCode()

Next Page
locale()

getCountryCode()

public string getCountryCode ( )

Returns ISO 3166 country code for current locale code.

Parameters

  • None.

Returns

  • (string)

Description

Returns ISO 3166 country code for current locale code.

This is basically just the last two uppercase letters from the locale code.