Closed rundel closed 2 months ago
This addresses #681 - rather than always using the sep2 separator the new code does the following for the vector length 2 case:
sep2
If last is non-default (i.e. not ", and") and sep2 is default (i.e. " and ") use last rather than sep2 when collapsing
last
", and"
" and "
Otherwise use sep2 when collapsing
Thank you! In the end I chose a different approach, but your PR has very helpful, still.
This addresses #681 - rather than always using the
sep2
separator the new code does the following for the vector length 2 case:If
last
is non-default (i.e. not", and"
) andsep2
is default (i.e." and "
) uselast
rather thansep2
when collapsingOtherwise use
sep2
when collapsing