get_and_or_list function

Returns a one element character string with correct punctuation for a list made up of the elements of the character vector argument.