Right trim in Java


/ Published in: Java
Save to your folder(s)

I made this because org.apache.commons.lang.StringUtils does not have this method. I used this because i was dealing with a legacy db where all fields were char. trailing spaces were a pita.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.