info(“countrycode”)

The info(“countrycode”) function returns the country code for the current location.


Description

This function returns the country code for the current location. This is a two letter code, for example US, GB, DE etc. The result of this function will immediately reflect any changes made in the System Preferences Language & Region panel.

info("countrycode") ☞ US

See Also


History

VersionStatusNotes
10.0NewNew in this version.