Jump to content

Replacing \n with space


guaym

Recommended Posts

Hi,

I have an expression

$F{description}.replaceAll( "\n", " ")

which works fine in jasperreport.  But it didnt worked when i generated it from java.

I need the field to be displayed in one line in my report.

Help pls.  Thanks

 

 

 

 

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