I am working on Apache Nifi where I do have requirement like remove extra comma at the end.
I would like to join 3 attributes using join method. If all the attribute is having value then it will work perfectly but any of the attribute is not having value then it will add extra comma at the end.
I am using like this
${allAttributes("Attr1", "Attr2", "Attr3"):join(",")}
I have also used trim() function but it will only remove space not common.
Do we have anything equal to trimend() in Nifi