String Problem Char Index

Discussion in 'Java' started by lucid, Sep 4, 2007.

  1. lucid

    lucid New Member

    Joined:
    Jul 25, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Need help with returning a character stored at a stated index position while input is converted to uppercase.

    Now I can easily convert string from dialog to uppercase , and return a character at an index position.. but not both together.

    Example: Input First Name: Bob
    Input Surname Name: Rudlo

    Output would be converted to BOB RUDLO

    Im trying to just display the first letter of the first input like so : B RUDLO

    Help would be much appreciated.
     
  2. lucid

    lucid New Member

    Joined:
    Jul 25, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Worked it out.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice