ygo1710 Posted December 5, 2017 Share Posted December 5, 2017 Hi, just started jaspersoft today and running into some problems here. I want to use the implode function inside the report but I can't find anything similar to this function inside the expression editor. Can someone tell me the correct way to do it? If possible could you guide me where to put it in as well still unfamiliar with some stuff.Name I am using $F{Name}, School is $F{School} while Family is $F{Family}I tried using something like this inside the expression but it doesn't work: (sorry if I added into the wrong place)org.springframework.util.StringUtils.collectionToDelimitedString($F{School},",")So this is my current situation:Name | School | Familytest1 | SchoolA | Momtest1 | SchoolA | Dadtest1 | SchoolB | Momtest1 | SchoolB | Dad I want the report to show something like this: (if there is another better way of doing or method, could you tell me more about also, would like to learn more :)Name | School | Familytest1 | SchoolA, SchoolB , | Mom, Dad Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now