Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Comparison of file names

Comparison of file names

Scheduled Pinned Locked Moved C / C++ / MFC
questionalgorithmsregex
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    alex barylski
    wrote on last edited by
    #1

    Is there any algorithm for comparing two filenames and determining the likelyhood of them being similar? Something more complex then checking length and seeing how many characters are different in each? Can I use regex to execute a slightly more than trivial comparison? How do I print my voice mail?

    R 1 Reply Last reply
    0
    • A alex barylski

      Is there any algorithm for comparing two filenames and determining the likelyhood of them being similar? Something more complex then checking length and seeing how many characters are different in each? Can I use regex to execute a slightly more than trivial comparison? How do I print my voice mail?

      R Offline
      R Offline
      Ravi Bhavnani
      wrote on last edited by
      #2

      You could use the Soundex[^] algorithm to check if the filenames sound similar. /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com

      B A 2 Replies Last reply
      0
      • R Ravi Bhavnani

        You could use the Soundex[^] algorithm to check if the filenames sound similar. /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com

        B Offline
        B Offline
        bikram singh
        wrote on last edited by
        #3

        I remember seeing this in FoxPro? Oracle? Cant be sure. But it is a useful thing! Thank you for the link ! Bikram Singh I believe we should all pay our tax with a smile. I tried - but they wanted cash.

        1 Reply Last reply
        0
        • R Ravi Bhavnani

          You could use the Soundex[^] algorithm to check if the filenames sound similar. /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com

          A Offline
          A Offline
          alex barylski
          wrote on last edited by
          #4

          oh wicked that's cool :) Thanks How do I print my voice mail?

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups