Raised This Month: $ Target: $400
 0% 

Java help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 12-16-2013 , 20:57   Re: Java help
Reply With Quote #6

Quote:
Originally Posted by jingojang View Post
Hi nikilgupta345, would you mind creating an example?
PHP Code:
String s "This is a string";
String[] splitString s.split();
// splitString = {"This", "is", "a", "string"}
String firstWord splitString[0];
String lastWord splitString[splitString.length 1];

System.out.println("First word: " firstWord " Last word: " lastWord); 
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:09.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode