File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to change a string words to uppercase

 
Esaki muthu
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to change all the staring letters of a string to uppercase letter in java ..how can i do it?

If it changes automatically in jsp also welcome


Example :

String s=" the work is in progress now"


Output Required is

The Work Is In Progress Now


How can i achieve .....
 
Martin Vajsar
Sheriff
Pie
Posts: 3747
62
Chrome Netbeans IDE Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since your question has nothing to do with JDBC, I've moved it to a better suited forum. Please see CarefullyChooseOneForum (<= click that link).

As there is no function in Java to do so, you need to employ some processing of your own. What have you tried so far?


 
Maneesh Godbole
Saloon Keeper
Posts: 10967
11
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What have you tried so far and where are you stuck?
 
Eshwin Sukhdeve
Ranch Hand
Posts: 90
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check this

(Solution removed)
 
Martin Vajsar
Sheriff
Pie
Posts: 3747
62
Chrome Netbeans IDE Oracle
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eshwin, I've edited your post and removed the solution you've given. Please see NotACodeMill (<= click that link) for details.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic