i have an array CAPGEMINI .....Here i need to check whether
G is there or not ..how to do that
and friends i have one big doubt that is
whether it is array or string ,how we come to know that and
where we consider that it's array ,where we consider that
it's an string
because when i want to find the length i have big doubt
whether we need to use len function or ubound ...
ans me for this TWO Questions any one please

Answer Posted / arun

Please try this

Dim AR2,i
AR2 = Array("C","A","P","G","E","M","I","N","I")

For i=0 to ubound(AR2)
If AR2(i)="G" Then
msgbox "G found in Array"
End If
Next

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))

1581


Hi,All How to create a link in excel sheet using qtp

2995


1.explain end to end process of qc,2.how many tabs are in qc9.0,qc10.0 3.what is review, how many reviews are following in aproject 4.how will you get the requirements 5.why do we choose testing 6.how to export tc's and requirements to qc through add-ins

1430


How does qtp recognize objects in aut?

580


What is clean sweep?

1374






How to carry out bit map check points in QTP

1760


What is qtpro?

593


what is the diff b/w assistive and mandatary rules of object repository in QTP???

1604


How to run a test using quicktest professional?

525


why you have standardized functions? plzzz guys with real time exp. do answer

1433


Why is action split used by qtp?

555


how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer

1442


I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?

594


banking project description for software tester

7020


What is test object model in quicktest professional?

619