08-22-2013, 04:27 PM
guys, I know this question may be straight forward. but I am a beginner and nees to know how to remove specific values from an array. I have a Dynamic Array in_Str_SecurityQ2 like below
this array has UBpund as 16 and contains values as below.
What is the first name of your oldest nephew?
What is the first name of the best man at your wedding?
(Enter full name of street only)?
What was the first name of your first boyfriend/girlfriend?
What was the first name of your first manager?
(Enter full name of town only)?
What is the first name of your oldest niece?
(Enter full name of city only)What is the name of the first company you worked for?
What is your grandfather's nickname?
............
I want to remove the values (Enter full name of street only)? and (Enter full name of town only)? from the Array and also update the size accordingly.
Thanks in Advance.
Code:
in_Str_SecurityQ2_List = Browser("br_EMC").Page("pg_ViewProfile").WebElement("ele_SecurityQ2_List").GetROProperty("innertext")
in_Str_SecurityQ2 = Split(in_Str_SecurityQ2_List,"?")
this array has UBpund as 16 and contains values as below.
What is the first name of your oldest nephew?
What is the first name of the best man at your wedding?
(Enter full name of street only)?
What was the first name of your first boyfriend/girlfriend?
What was the first name of your first manager?
(Enter full name of town only)?
What is the first name of your oldest niece?
(Enter full name of city only)What is the name of the first company you worked for?
What is your grandfather's nickname?
............
I want to remove the values (Enter full name of street only)? and (Enter full name of town only)? from the Array and also update the size accordingly.
Thanks in Advance.