2005 IR Help Posted September 1, 2006 Share Posted September 1, 2006 By: Max - wico split string 2005-03-11 05:05 Hi I have a database field looking like this: "blue;white;green" and I want to split this into three fields in ireports. How can I do that? By: Max - wico RE: split string 2005-03-12 01:15 I presume I can use the String.split method but I don't know how to use it with iReport. Link to comment Share on other sites More sharing options...
ashruti Posted February 9, 2007 Share Posted February 9, 2007 split method worked for me in iReports. $F{Field}.split("/")[0]$F{Field}.split("/")[1] Link to comment Share on other sites More sharing options...
Dhiraj Pahlani Posted July 10, 2021 Share Posted July 10, 2021 Hi,I have created a Wiki article for this similar requirement, which you may refer:https://community.jaspersoft.com/wiki/split-string-columns Link to comment Share on other sites More sharing options...
Solution Dhiraj Pahlani Posted July 10, 2021 Solution Share Posted July 10, 2021 Hi,I have created a Wiki article for this similar requirement, which you may refer:https://community.jaspersoft.com/wiki/split-string-columns 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