User Profile

Collapse

Profile Sidebar

Collapse
praver235
praver235
Last Activity: Mar 22 '13, 11:10 AM
Joined: Feb 8 '13
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • praver235
    replied to How to append firstname to lastname?
    in Java
    I read the names from a file and split it at space after the middle name.I do not know how to fetch the firstname and middle name for respective lastname.I m stuck at this place.
    See more | Go to post

    Leave a comment:


  • praver235
    replied to How to append firstname to lastname?
    in Java
    If I say firstName + middleName + lastName; I get output as null.
    See more | Go to post

    Leave a comment:


  • praver235
    started a topic How to append firstname to lastname?
    in Java

    How to append firstname to lastname?

    Hi..
    Following is the code i worked on to sort the lastnames.I need to know how to append firstname along with middlename to respective lastname. What I need to do to get the specified output? Thanks.
    Code:
     while ((s= in.readLine()) != null){
               String[] names = s.split(" ");
    
               lastname[e] = names[names.length-1];
    
               System.out.println(lastname[e]);
    ...
    See more | Go to post

  • How to extract specific content from webpage using jsoup

    I need to extract ONLY those publications from the web page http://www.informatik. uni-trier.de/~ley/pers/hd/r/Rao:Rahul.html, where the first author is Rahul Rao.

    I have tried the following code ,but it doesn't give me any output.
    Code:
    for( Element element : doc.select("table span.this-person.title") ){
    System.out.println(element.text());
    }
    What do I need to get the preferred output?...
    See more | Go to post

  • praver235
    started a topic how to split a string in java
    in Java

    how to split a string in java

    The string is
    [Ian Wood P. M. Visscher]
    [Ian Wood L. Mengersen]
    [Ian Wood]
    [L. Mengersen Ian Wood]

    Ian A. Wood is name of first person followed by a space and then name of second person P. M. Visscher. Similarly for the next string.I want to split the string person wise and store it in an array.For example a[0][0]=Ian Wood , a[0][1]=P. M. Visscher ,a[1][0]=Ian Wood ,a[1][1]=L. Mengersen and so on..Every time...
    See more | Go to post
    Last edited by praver235; Feb 16 '13, 07:34 PM. Reason: improved formatting
No activity results to display
Show More
Working...