Converting Cases PROBLEMS

I'm a freshmen in a computer science class and

I have a simple question.

What if you will input a string by using a stringbuffer

ex. "cious is my name"

now, I need to change the first letter of the words into upper cases. Just the first letter, therefore I can't use the toUpperCase function 'cause it converts the whole string.. What function can I use, so that It will display

"Cious Is My Name"

HELP, pls. pls. asap thanx=)

P.S (I know the text codec thing can do this, but I dont fully understand it.)

[559 byte] By [CiOuSa] at [2007-11-27 7:42:04]
# 1
Check out this thread http://forum.java.sun.com/thread.jspa?threadID=743101
hunter9000a at 2007-7-12 19:22:48 > top of Java-index,Java Essentials,New To Java...