/ Published in: Groovy
I used this because I had a legacy db table that all fields are char. the right spaces were a pita. The rightTrim function can be viewed in my profile
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
{ { { o.setProperty(it.getKey(), rightTrim(it.value)) //call the trim method } } } }