var txt = "0123456789" txt.removeAtIndex(txt.startIndex) txt.removeAtIndex(txt.endIndex.predecessor())