home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / database / theory / 676 < prev    next >
Encoding:
Text File  |  1993-01-11  |  1.5 KB  |  33 lines

  1. Newsgroups: comp.databases.theory
  2. Path: sparky!uunet!newsflash.concordia.ca!nstn.ns.ca!dragon.acadiau.ca!890584r
  3. From: 890584r@dragon.acadiau.ca (Barrie Rody)
  4. Subject: Help With String Comparisons
  5. Message-ID: <1993Jan11.225046.25109@dragon.acadiau.ca>
  6. Organization: Acadia University
  7. Date: Mon, 11 Jan 1993 22:50:46 GMT
  8. Lines: 23
  9.  
  10.  
  11.     I am writing a database and I need some help in comparing strings.
  12. What I need is an algorithm to compare 2 strings {PChar, array[]of Char}.
  13. I need this algorithm to be able to identify similar strings.
  14. ie. a misspelled word would be found in a list.
  15.     I am writing this in Turbo Pascal for Windows.  Any pseudocode,
  16. Pascal, C, C++ or text answers would be greatly appreciated.
  17.  
  18. Thanks in advance for any help,
  19. Barrie.
  20.  
  21. -----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+--
  22.     Barrie Rody            890584r@dragon.acadiau.ca
  23.     4th. Year Computer Science
  24.     Acadia University, Wolfville, Nova Scotia, Canada.
  25. --------------------------------------------------------------------------------
  26. Rugby /'rug-bi / n.  30 players on a field:  scrummin down, pushin and plowin,
  27.     squashin, stompin, straight arming, binding and bending, ruckin and
  28.     rollin, rakin and runnin, grunting, snortin and scissor'n, mauling,
  29.     tackling, bruisin and bleedin, prop'n and hook'n, kicking, jumping,
  30.     fakin and fumbling, callin the ball, passin backwards, makin the try,
  31.     and coolin off with an ice cold beer.
  32. --------------------------------------------------------------------------------
  33.