Results 1 to 3 of 3

Thread: Get the difference between 2 texts

  1. #1

    Thread Starter
    Hyperactive Member vbzero's Avatar
    Join Date
    Aug 2000
    Location
    Vienna
    Posts
    347

    Exclamation

    I want to read in 2 texts and then I want my program to check, which letter, sentense, whatever is different to the other text.
    The difference should appear in a textbox.

    thx, vbzero

  2. #2
    Addicted Member
    Join Date
    Mar 2000
    Location
    Gainesville, FL
    Posts
    131
    hey, don't I know you from AOL vb rooms??

    Anyways, this might work for you, maybe, maybe not:

    NewText$ = Replace(CurrentText$, OldText$,"")

    Basically it takes old text, and replaces any previous text with nothing.

    If CurrentText$ = "This is a test. Testing 1 2 3."
    and OldText$ = "This is a test.", then my "trick" would return " Testing 1 2 3."


    Hope that helps.


  3. #3

    Thread Starter
    Hyperactive Member vbzero's Avatar
    Join Date
    Aug 2000
    Location
    Vienna
    Posts
    347

    Thumbs up

    This works great!

    thx, vbzero

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width