AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

To determine whether a string is a substring of another stri

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Mon Nov 27, 2006 4:19 am    Post subject: To determine whether a string is a substring of another stri Reply with 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.
Back to top
Luc The Perverse
Guest





PostPosted: Mon Nov 27, 2006 8:02 am    Post subject: Re: To determine whether a string is a substring of another Reply with quote



<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
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.