Results 1 to 6 of 6
  1. #1
    zivkovic is offline Member
    Join Date
    Sep 2013
    Posts
    3
    Rep Power
    0

    Unhappy public String getInitialen()

    i need some help.

    i got some names and what i need to show is just the first character of the name followd by a "dot"

    its like this.

    I got: Ross Geller, Raichel Green....
    what i need is

    R. R.

    thanks!

  2. #2
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    3,912
    Rep Power
    5

    Default Re: public String getInitialen()

    What did you try? Check out the String API. Folks won't do your homework for you here.

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  3. #3
    zivkovic is offline Member
    Join Date
    Sep 2013
    Posts
    3
    Rep Power
    0

    Default Re: public String getInitialen()

    i was trying to find a method, ist there a method within Java, i'm using NetBeans.
    Or do i have to make a method myself?

    i just had one lesson in Java, i'm trying to find some info online but it isnt easy... with php it went beter...

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,453
    Rep Power
    20

    Default Re: public String getInitialen()

    Do you know where to find the Java API and the Oracle tutorials?

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  5. #5
    zivkovic is offline Member
    Join Date
    Sep 2013
    Posts
    3
    Rep Power
    0

    Default Re: public String getInitialen()

    i have found one that i'm using on iPad. its an app and it helped me a lot.
    u can find it under appstore "Java Tutorial: Learn Java Quickly"
    u can folow the videos and do what he does.

    here is a website.
    https://www.udemy.com/
    :)

  6. #6
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    3,912
    Rep Power
    5

    Default Re: public String getInitialen()

    Check out the Oracle tutorials in my signature below. If you have problems the forum will be here to assist.
    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

Similar Threads

  1. Replies: 4
    Last Post: 02-19-2013, 05:36 PM
  2. public static void main(String... args)???
    By SnakeDoc in forum New To Java
    Replies: 5
    Last Post: 01-10-2013, 09:30 AM
  3. Q?> about public static void main(String args[])
    By boblingwide in forum New To Java
    Replies: 4
    Last Post: 03-23-2012, 12:17 PM
  4. Call a public string variable
    By onstock in forum New To Java
    Replies: 3
    Last Post: 11-23-2011, 01:25 PM
  5. Public static void main (String args[])
    By arefeh in forum New To Java
    Replies: 12
    Last Post: 01-28-2010, 12:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •