User Profile
				
					Collapse
				
			
		
	- 
	
	
	
	
 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.
- 
	
	
	
	
 If I say firstName + middleName + lastName; I get output as null.Leave a comment:
- 
	
	
	
	
 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]);
- 
	
	
	
	
 How to extract specific content from webpage using jsoupI 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.
 What do I need to get the preferred output?...Code:for( Element element : doc.select("table span.this-person.title") ){ System.out.println(element.text()); }
- 
	
	
	
	
 how to split a string in javaThe 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...
No activity results to display
							Show More
							
Leave a comment: