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.
Welcome to Douglas, Arizona. Douglas, Arizona is in the County of Cochise situated on the US / Mexican border adjacent to the Mexican city of Agua Prieta. It is located 118 miles southeast of Tucson. Douglas has over 18,000 residents and was founded in 1901, and was later incorporated in 1905. Douglas was first established as a smelter site for the prosperous copper mines in Bisbee, Arizona. The town is named after mining pioneer James Douglas.