Extract country from Google Maps Search

I am looking for a way to save the country from a google map address in my database. Does anyone know a way this could be done?

Maybe truncating from the end of the string to the first comma it finds as the comma seperates each part of the address (the country been the last)? but it seems you can only truncate a number value and this wouldn’t work as each country is obviously of different lengths.

Any Ideas…?

1 Like

There is an “extract:” command for address inputs:

You can extract every single piece of an address. :wink:

4 Likes

Spot on Diego!!!

Thanks!!

Hello, I knew for this but how extract the name of the address ? It is not in the options ! A regex ?

Thank you so much ?

Hi
I am trying to do this, - that is save the country in my database from a geographical search, but when I go to extract, I only have an option “Email” - any idea what I am doing wrong?
I don’t get the option to extract city or country.

  1. I have a search box - geographical places
  2. I save the results as text into my data base under “Address”
  3. I make changes to this thing - Country = result of Step 1 - extract …

but - no option to extract country.

thanks for any guidance