The user starts out by pasting text into a textbox:
1.Phototypesett ing was superior to automated typesetting because it was
(A)Easier
(B)Faster
(C)More flexible
*(D)All of the above
What I want to do is to tag the sentence and format it as follows:
MC Phototypesettin g was superior to automated typesetting because it was (A)Easier incorrect (B)Faster incorrect (C)More flexible incorrect (D)All of the above correct
Using the following code I can easily replace the number (1) with MC:
TextBox1.Text = Replace(TextBox 1.Text, ("1."), "MC ")
But for the life of me I cannot figure out how to tag each choice with correct or incorrect. The correct tag will go to the end of the choice which starts with * eg *(D) All of the above correct, while incorrect should go at the end of all other choices.
Can anyone please help. I haven't programmed in VB for a while.
1.Phototypesett ing was superior to automated typesetting because it was
(A)Easier
(B)Faster
(C)More flexible
*(D)All of the above
What I want to do is to tag the sentence and format it as follows:
MC Phototypesettin g was superior to automated typesetting because it was (A)Easier incorrect (B)Faster incorrect (C)More flexible incorrect (D)All of the above correct
Using the following code I can easily replace the number (1) with MC:
TextBox1.Text = Replace(TextBox 1.Text, ("1."), "MC ")
But for the life of me I cannot figure out how to tag each choice with correct or incorrect. The correct tag will go to the end of the choice which starts with * eg *(D) All of the above correct, while incorrect should go at the end of all other choices.
Can anyone please help. I haven't programmed in VB for a while.
Comment