Jump to content
JasperReports Library 7.0 is now available ×

Adding char literals \n, \t to String/Field?


Recommended Posts

By: jimmy_james - jimmy_james

Adding char literals n, t to String/Field?

2006-01-03 11:03

Hi,

 

Is it possible to have char literals like "n" or "t" evaluated when the report is generated. For example say $F{ADDRESS} has the value "address1 n address2 n address3". Is there a way to get jasper to evaluate this and put in the newlines ? I know I could break it up into 3 fields and do $F{ADDRESS1} + "n" $F{ADDRESS2}...etc. but in my case this requires a lot of revamping.

 

Thanks,

James

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...