This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Search for a substring" Watch "Search for a substring" New topic
Author

Search for a substring

mike farad
Greenhorn

Joined: Sep 19, 2001
Posts: 8
Hai,
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.
-Mike
 
jQuery in Action, 2nd edition
 
subject: Search for a substring
 
Similar Threads
amount currency datatype
Looking for correct data type to take in stream of xml
Please Comment on Data Section
how to sovle these two errors~~~help~~~
SQL Data Types