Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: String API: Converting a given statement

  1. #1
    Junior Member
    Join Date
    Jun 2013
    Location
    Chennai
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool String API: Converting a given statement

    Hi this is my first question in this forum and I am currently taking java classes and I have found my new love
    Yesterday's question was :
    'this is a statement' should be taken into a string and the output should be this way :'This Is A Statement' meaning all the letters after the spaces capitalized.
    I did the max I could using split(" "); and using charAt() Function but the fact is I could not finish this. (Coz we are not thought APIs).

    Any answer appreciated. (You can post answer by any method coz I am eager to learn all methods).

    Ty guys.
    Anirudh


  2. #2
    Senior Member PhHein's Avatar
    Join Date
    Mar 2013
    Location
    Germany
    Posts
    609
    My Mood
    Sleepy
    Thanks
    10
    Thanked 93 Times in 86 Posts

    Default Re: String API: Converting a given statement

    Hi there, so what is your actual question? Post your code and tell us what didn't work.

Similar Threads

  1. Replies: 6
    Last Post: June 3rd, 2013, 04:57 AM
  2. Converting a 2-D char array into a string
    By mist4lyf in forum What's Wrong With My Code?
    Replies: 3
    Last Post: April 12th, 2013, 08:28 AM
  3. Converting a String to an Int? Is it possible?
    By Gravity Games in forum Java Theory & Questions
    Replies: 2
    Last Post: July 14th, 2012, 11:21 PM
  4. [SOLVED] Issue with converting a string to a date
    By dave_nj in forum What's Wrong With My Code?
    Replies: 15
    Last Post: May 2nd, 2012, 02:14 PM
  5. Converting to String
    By darek9576 in forum Object Oriented Programming
    Replies: 1
    Last Post: March 13th, 2010, 06:09 PM