Wednesday, May 28, 2008
Posting site discussing code
Find help here and post your comments and doubts to get them clarified.
clipped from http://www.nosle.com/loc/gth/nsl_rss.jsp?href=null&a2=1211985269&title=substring+method+of+java+String+class
substring method of java String class
Simple example for Java's substring method of String class.
int start = 1;
int end = 5;
String val = "howareyou";
String substr = val.substring(start,end);
int start = 1;
int end = 5;
String val = "howareyou";
String substr = val.substring(start,end);
//The above prints owar
Get Clipmarks - The easiest way to email text, images and videos you find on the web.
Labels:
C++,
code,
developing,
java,
Javascript
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment