vb6 select a string within a string using two arrays and copy the selection to the third array.
This question has two parts, 500 pts will be awarded to whomever answers both parts
I have two arrays:
Dim arrA(0) as string
Dim arrB(0) as string
Dim arrC(0) as string
Dim arrD(0) as string
arrA(0) = "This is a test for me to find the answer?Please select the correct one."
arrB(0) = "find the answer?"
arrC(0) = ""
arrD(0) = ""
how can I select the wording in arrB(0) out of arrA(0) and copy the selection to arrC(0)?
How can I copy the question mark, character of the string "?", to a fourth array?
Thanks in advance.