public static String getISO3Country ( String country ) { int offset = findIndex ( _countries , country ) ; if ( offset >= 0 ) { return _countries3 [ offset ] ; } else { offset = findIndex ( _obsoleteCountries , country ) ; if ( offset >= 0 ) { return _obsoleteCountries3 [ offset ] ; } } return "" ; }
Returns a three - letter abbreviation for the provided country . If the provided country is empty returns the empty string . Otherwise returns an uppercase ISO 3166 3 - letter country code .