jroeterd Posted November 10, 2007 Share Posted November 10, 2007 Hello, I am using ireport on a CSV file and in this file a string (describtion) is present in capitals. I would like to have it presented with the first letter a capital and all other letters small. I found .toLowerCase but then the first letter is also small and it should be a capital letter. Greetings,JroeterdPost edited by: jroeterd, at: 2007/11/11 18:17 Link to comment Share on other sites More sharing options...
Pedja Posted November 12, 2007 Share Posted November 12, 2007 Try something like$F{SOME_FIELD}.substring(0, 1)+$F{SOME_FIELD}.substring(1, $F{SOME_FIELD}.length()).toLowerCase() 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