Is there anyway to determine whether a string is a substring of another
string.
For example: be is the substring of beatiful, er is the substring
germany, ny is the substring germany.
Luc The Perverse - 27 Nov 2006 02:02 GMT
> Is there anyway to determine whether a string is a substring of another
> string.
> For example: be is the substring of beatiful, er is the substring
> germany, ny is the substring germany.
Yes easily
See this page
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html