🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #7460

recursive function ?

#7460
From: Steffen
Date: Wed, 20 Jun 2001 14:55
23 lines
1688 bytes
 Hello everyone,

I'am going to realize a search-funtion which should find a part of a string
in another string.

So i have two parameters, the full string and the string which should be
searched in the first one.
Additional there is a parameter to handle case-sensitivity or not (boolean).

The search-string (number 2) can include literals like  %, * and ? for
unknown letters/numbers.
So there must not specified a fitted search-string. Unknown letters can be
replaced with * or % for 1 or more unknown letters. The ? is used for 1
unknown letter.

(This function is e.g. implemented in DOS for filesearching  --> *.exe)

I should code this in a recursive function.
It will be nice if anybody can help me...

Best Regards

Steffen
Technical Details
Message-ID: <3b30b897_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!news1.dtag.de!news.stgl.sel.alcatel.de!news.stgl.sel.alcatel.de!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,b3ee04a5fe26b94e,start
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-06-20 08:06:30 PST
Reply-To: "Steffen" <s.heinecke@gmx.de>
From: "Steffen" <s.heinecke@gmx.de>
Newsgroups: borland.public.jbuilder.java.language
Subject: recursive function ?
Date: Wed, 20 Jun 2001 16:55:16 +0200
Lines: 26
Organization: Student
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.3018.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300
NNTP-Posting-Host: 134.103.180.132
Message-ID: <3b30b897_1@dnews>
X-Trace: dnews 993048727 134.103.180.132 (20 Jun 2001 07:52:07 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!news1.dtag.de!news.stgl.sel.alcatel.de!news.stgl.sel.alcatel.de!dnews