aspose file tools*
The moose likes Beginning Java and the fly likes Search for a substring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Search for a substring" Watch "Search for a substring" New topic

Search for a substring

mike farad

Joined: Sep 19, 2001
Posts: 8
I m looking for a method that checks if a particular string is a part of a string. For example if I want to check if "Sub" is in a String called "SearchSubString". I know this can be done using indexOf().Is there any other way. Thanks in advance.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Search for a substring
Similar Threads
Looking for correct data type to take in stream of xml
Please Comment on Data Section
amount currency datatype
SQL Data Types
how to sovle these two errors~~~help~~~