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: Upper and Lower Case in a sentence

  1. #1
    Junior Member
    Join Date
    Oct 2013
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Upper and Lower Case in a sentence

    I'm trying to capitalize the first Letter of word at the beginning of a sentence. So far, even though my code compiles, it won't run demonstrating what I want it to do.

    I have an if else statement that tests if the character of a word is actually a letter, and if said letter is lower case, to switch to
    uppercase.

    I also have another if else statement for finding and converting lower case after a period.

    Any ideas?


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: Upper and Lower Case in a sentence

    My idea is that you show your code and an example run of the results with a description of what you'd like the results to be.

Similar Threads

  1. how to search for upper/lower case using string using JAVA!!!?
    By eortiz10 in forum What's Wrong With My Code?
    Replies: 3
    Last Post: September 25th, 2013, 06:56 AM
  2. how to ignore upper and lower case
    By mohamed_saleh2012 in forum Java Theory & Questions
    Replies: 1
    Last Post: March 10th, 2012, 03:49 PM
  3. wanting to convert printout to UPPER case
    By welikedogs in forum What's Wrong With My Code?
    Replies: 4
    Last Post: November 3rd, 2010, 01:22 PM
  4. [SOLVED] upper case
    By andaji in forum What's Wrong With My Code?
    Replies: 2
    Last Post: March 13th, 2010, 11:54 PM

Tags for this Thread