list(A).pop() alters a list by removing its last element. If the list is null an exception of type value.null will be raised.
string.pop() alters the string by removing its last character. If the string is empy, an exception of type value.index will be raised.
