Comment on Tutorial - indexOf( ) and lastIndexOf( ) in Java By Hong
Comment Added by : Mike
Comment Added at : 2010-10-14 20:09:31
Comment on Tutorial : indexOf( ) and lastIndexOf( ) in Java By Hong
To "need help":
String str = "xR-MxR-MHelloxR-M";
System.out.println(str.substring(str.lastIndexOf("M", 15)+1, str.lastIndexOf("x")));
;-)
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
Subscribe to Tutorials
Related Tutorials
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
MultiLevel Inheritance sample in Java
Archived Comments
1. This program not running on my system so give some
View Tutorial By: Ajay Kumar Barik at 2009-06-15 02:28:47
2. Unable to understand all the points, quiet confusi
View Tutorial By: KB at 2015-04-15 10:11:14
3. Hi Prathamesh,
Maybe the COM port to which
View Tutorial By: Ramlak at 2007-03-19 00:46:49
4. Hi, my name is Jaime,
I wan't to do a jsp w
View Tutorial By: Jaime at 2011-10-24 12:47:50
5. I tried to use the code's but getting one error as
View Tutorial By: Ashish at 2009-03-23 03:10:22
6. pls give me example of stack class with postfix me
View Tutorial By: uchiha at 2011-09-16 04:02:57
7. Hi,
Could you forward me the code a
View Tutorial By: vikas at 2011-06-22 07:02:48
8. very simple example.....................
View Tutorial By: kajal at 2015-08-22 09:28:16
9. This is an excerpt from Java Complete Reference.Ju
View Tutorial By: Guest at 2010-03-25 01:36:57
10. excellent...... thank you so much.
View Tutorial By: balaji at 2011-07-19 07:56:08