Results 1 to 2 of 2

Thread: Q. : String comparison

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2009
    Location
    EG
    Posts
    84

    Exclamation Q. : String comparison

    I have VB 2010 Project includes :
    2 TextBoxes (MultiLine enabled)
    Name : T1
    Name : T2

    T1.text includes 11 lines of strings like this ("String" + vbcrlf)
    T2.text includes 9 lines of strings like this ("String" + VbCrlf)
    each line of both TextBoxes includes a single word ...

    Example :
    T1,Text\\\\\\\\\T2.Text
    My |||||| My
    Name |||||| Name
    Is |||||| Is
    and |||||| But
    His |||||| Her
    Name |||||| Name
    Is |||||| Is
    But |||||| But
    those |||||| Theirs
    Too ||||||
    Ends At ||||||

    T2.text is a student's exam solution, t1.text are the correct answers for the same questions....
    How can I retrieve the differences from T1.text so I can determine where the student's do wrong ?

  2. #2
    Fanatic Member
    Join Date
    Dec 2007
    Location
    West Yorkshire, UK
    Posts
    790

    Re: Q. : String comparison

    Have a look at this thread for how to compare two lines.

Tags for this Thread

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