Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27409

VS 2010 Q. : String comparison

$
0
0
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 ?

Viewing all articles
Browse latest Browse all 27409

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>