Hi!
I have a list of people (IEnumerable of .NET objects, each with a FullName property), and I need an output an inline list of them that has a coma and a space between each name. For example "John Smith, Joe Smith". Pretty much what String.Join(", ", names)
would do.
If I put the name + coma + space in the "List" in the word template, I will almost get what I need, but it will have a trailing space+coma. Is there a way to achieve this in word? Or should be precomputed with String.Join
in the data source?
Saw you mentioned XPath for a similar questions: https://www.docentric.com/forum/chat/conditional-fields-and-separators Could you give an example?
Btw, do you have examples other than these? https://www.docentric.com/documentation/examples Evaluationg multiple solutions right now, and while I don't like Aspose's approach, they do have a lot of examples.