Jump to content
We've recently updated our Privacy Statement, available here ×

How to hide some digits in the iReport


uranganathan

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 months later...

I too need to hide some digits on a report for example

a SSN:

 

XXX-XX-1465

 

The above example, tried different ways doesn't seem to work. What do I actually need to do?

 

here is what I currently have with the default example above placed into it. I may not be understanding what it's doing exactly, so perhaps a rundown on what is happening might help too.

 

$F{SSN}.equals("_") ? "" : "XXXXXX-XXXXX"+$F{SSN}.substring(9,15)

 

thanks!

Post edited by: zethris, at: 2007/05/22 19:32

Link to comment
Share on other sites

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