I am making a method for reading whole class code and doing some things with it.
What I want to do is get the name of the method and create a string with it.
Something like removeProduct
I will create the line "Delete product"
How can I split the name method in case of investment? How can I build this new line with the first letter of each word as capital? I am doing this with a substring, is there an easier and better way to do this?
ps: I'm sure my Brazilian English did not help by name. If anyone can do it better, I will be grateful.
java string
pringlesinn Dec 21 '10 at 17:45 2010-12-21 17:45
source share