Comment on Tutorial - Using substring( ) in Java By Fazal
Comment Added by : Fazal
Comment Added at : 2008-09-12 20:17:53
Comment on Tutorial : Using substring( ) in Java By Fazal
Hi puru, The syntax is substring(int startIndex, int endIndex). Therefore you should pass two integer numbers to this method. The first one indicates the starting index and the second one indicates the ending index. For example, if you want to take the substring 'He' from the String 'Hello' then you would specify substring(0,2) which means start from the first character and finish after the second character.
View Tutorial
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Related Tutorials
Java program to get location meta data from an image
Program using concept of byte long short and int in java
Update contents of a file within a jar file
Tomcat and httpd configured in port 8080 and 80
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program in Java
Calculate gross salary in Java
Calculate average sale of the week in Java
Vector in Java - Sample Program
Archived Comments
1. i want code please send me.
luckys
View Tutorial By: sam at 2014-11-12 06:19:26
2. Excellent.
Just one question... What is the
View Tutorial By: HeilGates at 2010-08-04 13:38:12
3. Java is very interesting,I wish to do certificate
View Tutorial By: Dzunisani Chauke at 2012-11-05 10:19:35
4. Looks good, but don't use gets(). gets() is respon
View Tutorial By: Luke at 2011-11-21 09:03:38
5. provided examples are very useful.
View Tutorial By: Technical Guy at 2010-04-25 08:12:06
6. good
View Tutorial By: saravanan at 2007-03-02 23:16:00
7. Great details you provided here, very straight for
View Tutorial By: Jackie Wong at 2010-02-05 10:52:25
8. You can also include a hidden field of the same na
View Tutorial By: Stray at 2010-01-05 08:07:47
9. well...raghu download the sun api...whose link is
View Tutorial By: rima at 2008-12-27 22:22:03
10. thanku this is very good example
View Tutorial By: priyanka at 2012-10-02 13:08:49