delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/01/27/23:21:34

From: "D Borland" <d DOT borland AT ntlworld DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: strings i think...?
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Message-ID: <O%Mc6.2344$YT3.73514@news6-win.server.ntlworld.com>
Date: Sun, 28 Jan 2001 04:15:59 -0000
NNTP-Posting-Host: 213.105.66.250
X-Complaints-To: abuse AT ntlworld DOT com
X-Trace: news6-win.server.ntlworld.com 980655214 213.105.66.250 (Sun, 28 Jan 2001 04:13:34 GMT)
NNTP-Posting-Date: Sun, 28 Jan 2001 04:13:34 GMT
Organization: ntl Cablemodem News Service
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

ok, here he deal...

how do i do this...

i want to have the user input say 'bike green suzuki' and the program would
search it's list of vehicles say... problem i have though is this... i can't
fiqure out if here is some sort of easy method(s) to comparing the user
input to say another string that th program read from a file, and check to
see if they match.  Without it mattering the order of the users description,
e.g.

user types: 'bike green suzuki'
programs string: 'green bike suzuki'

can anyone help me with this, problem or even if you can only through a few
suggestions my way...?

thanks for your time

';'




- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019