Compare 2 strings
Posted on 1997-09-24
I have 2 strings (100 chars max).
The first line is the reference.
The second is introduced to the keyboard by a student.
How to count *all* the errors in the second line?
1=The first line is the reference.
2=Thhe first lineis the reference. (2 errors)
2=Thehehe first line is the reference. (4 errors)
2=te first line is the eference. (3 errors)