kelshorn Posted September 30, 2019 Share Posted September 30, 2019 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. Thanks Link to comment Share on other sites More sharing options...
swood_1 Posted October 1, 2019 Share Posted October 1, 2019 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. 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