🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #979

Searching a string in Java for a Substring, anyone know how?

#979
From: ronnie gillis
Date: Fri, 12 Nov 1999 00:00
7 lines
1094 bytes
I have a computer assignment that is due next week and we have to be
able to search a string entered by the user, for a substring that is
entered by another user.  We have only just learned  the basics of
Java and some methods and designing classes.  We are just in the midst
of learninig if statements and it somehow must relate to this but I
can't wrap my head around it.  We haven't used many methods that would
search a string.  PLEASE HELP!!!!!!!!!!!!!!!!!
Technical Details
Message-ID: <382c242b.4852097@news.mtt.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d6db,48eb6f058b5ae742,start
X-Google-Attributes: gid10d6db,public
From: warren.buffet@usa.net (ronnie gillis)
Subject: Searching a string in Java for a Substring, anyone know how?
Date: 1999/11/12
Message-ID: <382c242b.4852097@news.mtt.net>
X-Deja-AN: 547758438
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
X-Trace: sapphire.mtt.net 942417291 142.176.19.137 (Fri, 12 Nov 1999 10:34:51 AST)
Organization: Business Internet
MIME-Version: 1.0
NNTP-Posting-Date: Fri, 12 Nov 1999 10:34:51 AST
Newsgroups: aus.computers.java