Introduce a generic container-joining algorithm, qJoin(), to
qalgorithms.h. qJoin() combines the elements of a container
into a single result such as a string separated by a specified
'Separator'. Optionally, elements can be transformed using a
projection function.
Add tests and documentation.
[ChangeLog][QtCore][QtAlgorithms] Added qJoin().
Task-number: QTBUG-64318
Change-Id: Ia9abd45645fbbbcc87ff3e5474878609398d9eb6
Reviewed-by: Marc Mutz <marc.mutz@qt.io>