 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Mon Nov 27, 2006 4:19 am Post subject: To determine whether a string is a substring of another stri |
|
|
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. |
|
| Back to top |
|
 |
Luc The Perverse Guest
|
Posted: Mon Nov 27, 2006 8:02 am Post subject: Re: To determine whether a string is a substring of another |
|
|
<saturnlee (AT) yahoo (DOT) com> wrote in message
news:1164579595.889792.180320 (AT) n67g2000cwd (DOT) googlegroups.com...
| Quote: | 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 |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|