Create a record of series on a label


I'm trying to display a set of records as a series. Right now the expression I'm using is $V{catalog_numbres}.substring( 0, $V{catalog_numbers}.length() -1) which displays my information like this: 53535, 53536, 53537, 53538, etc. 

Is there a way for me to display the infomation like 53535-53538? I'm not the greatest with codes or any of this, but everything I've tried hasn't worked. 



kelshorn's picture
Joined: Sep 30 2019 - 11:29am
Last seen: 1 month 2 weeks ago

1 Answer:


This is a Java question.

'You will have to parse $V{catalog_numbres} into an array - look at split - and return the first and last elements of the array.

swood_1's picture
Joined: Nov 15 2012 - 10:47am
Last seen: 3 days 10 hours ago