Jump to content
Changes to the Jaspersoft community edition download ×

How to split JSON string by special character and print the rest of the string in a new line in Jasper reports


srikarkarumuri98

Recommended Posts

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 :

  1. GENERAL
  2. LANDING DOORS

I 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

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • 5 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...