strip_endding()
Remove white spaces and new line characters (space, tab, return, line feed) placed at the endding.
list : elements are as follows