strip_endding(a_text)
Remove white spaces and new line characters (space, tab, return, line feed, BEL) placed at endding of a text.
list : a_list which have following elements.