AustinScola / seligimus

A mono-library.
MIT License
1 stars 0 forks source link

Add string join with different final separator #194

Closed AustinScola closed 3 years ago

AustinScola commented 3 years ago

Add a method for joining strings with a final separator that is different than the other separators.

Examples:

animals = ['cats', 'dogs', 'birds']
assert join(animals, ', ', final=', and ') == 'cats, dogs, and birds'