In this function the third parameter is delimiter. You can use the following expression:
Code: Select all
{Func.EngineHelper.JoinColumnContent(Categories, "CategoryName", "; ")}
Code: Select all
{Func.EngineHelper.JoinColumnContent(Categories, "CategoryName", "; ")}
Code: Select all
Func.EngineHelper.JoinCollumnContent.AddCondition(CollumnName,ValueToCheck, ColumnToPrint ,delimitor)
Code: Select all
Func.EngineHelper.JoinCollumnContent.AddCondition("CategoryName","Cat","Species",";") --> delimiter ";" would be printed after the value has been printed
Func.EngineHelper.JoinCollumnContent.AddCondition("CategoryName","Dog","Species",".") --> delimiter "." would be printed after the value has been printed
Func.EngineHelper.JoinCollumnContent.AddCondition("CategoryName","Bird","Species",",")--> delimiter "," would be printed after the value has been printed
Code: Select all
----------------------------------
| CategoryName | Species |
----------------------------------
| Cat | Kitten |
| Dog | Labrador |
| Bird | Parrot |
----------------------------------
Code: Select all
"kitten; Labrador. Parrot, "
Unfortunately, but it is a very specific task.JorisWils wrote:yeah okay.. I explained it incorrectly I think
I mean.... In the complete text being generated... Diffrent delimiters should be used based on a condition.
So I can have dots, kommas and ";" in the complete text.
maybe something like:...Code: Select all
Func.EngineHelper.JoinCollumnContent.AddCondition(CollumnName,ValueToCheck, ColumnToPrint ,delimitor)