get the last element in list `astr`,astr[(-1)]