sefas Posted March 17, 2009 Share Posted March 17, 2009 How can I initCap a string in an expression.I have triednew java.lang.String($F{MYFIELD}.initCaps())But this causes a syntax error Link to comment Share on other sites More sharing options...
svenn Posted March 17, 2009 Share Posted March 17, 2009 initCaps() is not a valid Java String method. To do this you will probably have to create a scriptlet. Or look here at the Java String API.http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html 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