janetpereira Posted February 4, 2016 Share Posted February 4, 2016 $F{patron_last_name}.substring(0,4) uses the first four letters of the last name Link to comment Share on other sites More sharing options...
zh3ntil Posted February 4, 2016 Share Posted February 4, 2016 You can try this.IF(LEN($F{patron_last_name})>4,$F{patron_last_name}.substring(0,4),$F{patron_last_name}) Link to comment Share on other sites More sharing options...
hozawa Posted February 4, 2016 Share Posted February 4, 2016 $F{CUSTOMERID}.length()>3?$F{CUSTOMERID}:$F{CUSTOMERID}.substring(0,3) 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