We recently discover your different products and are trying to determine the faisaibility of a feature.
In our data model, we have a lot of string collections (arrays) and we want to format them like this:
“Mr. A, Mr B, Mr C and Mr D”
We tried to implement that using ([https://docs.groupdocs.com/assembly/java/template-syntax-part-2-of-2/#extension-methods-of-iteration-variables](https://Extension Methods of Iteration Variables)) and it works like a charm!
But our question is, can we avoid to repeat this kind of logic for each collection that we have ?
We tried to create a static method and referenced the class in “DocumentAssembler.knowTypes”, but we do not receive directly a collection of strings but an object from your model representing the iteration.