compare two string and get the difference

Discussion in 'ASP General' started by jyoti, Jun 4, 2004.

  1. jyoti

    jyoti Guest

    Hi there,
    I am trying to compare two strings and get the differenc
    in vbscript.

    Example: Str1="This is a test text"
    Str2="This is a fine test text but a little long"
    I like to compare str1 with str2 and get the difference.
    Above example the difference will be "fine" and "but a
    little long"
    How do I do that? A sample code would be apprciable.

    Thanks for your time

    Jyoti
     
    jyoti, Jun 4, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. armandotop
    Replies:
    2
    Views:
    385
    Peter Jansson
    Apr 13, 2005
  2. GenxLogic
    Replies:
    3
    Views:
    1,285
    andrewmcdonagh
    Dec 6, 2006
  3. Tutico
    Replies:
    6
    Views:
    105
    Uri Guttman
    Nov 15, 2006
  4. PerlFAQ Server
    Replies:
    0
    Views:
    187
    PerlFAQ Server
    Feb 6, 2011
  5. PerlFAQ Server
    Replies:
    0
    Views:
    160
    PerlFAQ Server
    Apr 4, 2011
Loading...

Share This Page