If one wants to get the last element in one go, he/she may use Array#splice() : Here, there is no need to store the split elements in an array, and then get to the last element.
Welcome to City of Page, Arizona. Page is a small town in northern Arizona located on the southern shores of magnificent Lake Powell.
Gilbert, Arizona. Gilbert is a town in Maricopa County, Arizona, United States, located southeast of Phoenix, within the Phoenix metropolitan area. Once known as the Hay Shipping Capital of the World,[4] Gilbert is currently the most populous incorporated town in the United States.