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.
Phoenix is in the southwestern United States, in the south-central portion of Arizona; about halfway between Tucson to the southeast and Flagstaff to the north. By car, the city is approximately 150 miles (242 km) north of the US-Mexico border at Sonoyta and 180 miles (290 km) north of the border at Nogales.