srikarkarumuri98 Posted September 3, 2021 Share Posted September 3, 2021 I am new to jasper reports please help me on this question. How to split JSON string by special character and print rest if the string in a new line in Jasper reports.String Input : "1. GENERAL#2. LANDING DOORS#"Expected Output :GENERALLANDING DOORSI need to split Input JSON String by "#" and print remaining data in a new line inside text field in jasper report.Advance Thanks Link to comment Share on other sites More sharing options...
gustavofarias Posted September 3, 2021 Share Posted September 3, 2021 Expression of your text field:$P{input}.replaceAll("#", "n") Link to comment Share on other sites More sharing options...
pgoureau Posted February 16, 2022 Share Posted February 16, 2022 I have the same problem but the answer doesn't work 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