I get data when any user request to serach url in browser and i got her ip using that ip i convert that into string using API Like this.
$ip=1;US;USA;United States
here i need only iso3 code of that country how seprate that variable to get output like this.
$iso3=USA;