Complex sentence: The consulates general need not be in the capital city, but instead in the most appropriate cities: for example many countries base their United States consul general in New York City.
Split into simpler sentences: The consulates general need not be in the capital city, but instead in the most appropriate cities. In the United States, for example, many countries base their consul general in New York City.