Jump to content

Removing extra whitespaces in a Text Field


pawar30

Recommended Posts

I am a newbie here, so apologies if my question seems stupid. <

I have a Text Field with width of 140. The value that populates it can vary in length from 50 to 130.

What happens now is, there is a huge gap between this Text Field and the next report element. My report looks like this(The name is a dynamic value) :

I, Mark Rogers     , the undersigned employee


when I want it to be

I, Mark Rogers, the undersigned employee


I have tried trim() on the Text Field. But I realized that this works only if there are trailing spaces in the dynamic value and it does not trim the Text Field white spaces. Is there a way to remove these extra white spaces in the Text Field after the it is populated? Or is the best work around to reduce the width of the Text Field and give a Stretch with Overflow?



Post Edited by medusa30 at 05/15/2012 12:11
Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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