mfarooq Posted December 14, 2007 Share Posted December 14, 2007 Hello All, i am new to ireport. i am getting a field from db quary and i want to replace its first 12 charectors by # like Actual String is 5739548603859673and the string that should be show is ############9673 Thanks in advance. Link to comment Share on other sites More sharing options...
Pedja Posted December 14, 2007 Share Posted December 14, 2007 If your field length is always 16, you can use this"############"+$F{field}.substring(12) Maybe this can be done with Pattern property on the field, but I don't know how. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now