I am retrieving value from webpage and store as a string. I am getting following error
errorString = "E12 XYZ NOT COMPATIBLE WITH DATE F08 DATE PAID NOT COMPATIBLE WITH XYZ CODE"
When i capture this error it is a cobination of 2 Error lines and 10 hidden lines. I want to remove "E12" and "F08" from the string. I want to store these values in an array. But when i store it i am getting ubound value = 2 which should be 1. Following is the code which i have written.
My main task here is 1. Capture error message and remove unnecessary character or space before and after string 2. grab first 3 charcters of each line of the string 3. store array with the number of items we grabbed from the string without any space item
This code is working fine but last thing which i want to ask how i store these values in an Array , I have to created fixed length of array of just dynamic array ? If dynamic array how can i give redimension ?