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 / gabbar
Dim a
a=array("CAPGEMINI" )
If len(join(a))<>len(Replace(join(a),"G","")) Then
msgbox "Occurance of G in array: "&len(join(a))-len(Replace(join(a),"G",""))
End If
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain advantages and disadvantages of ddf?
What is the difference between byref and byval in qtp?
Explain different types of checkpoints?
wht type of User defined functions or Java Releated functions do we write in VB scripting
I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .
What are the differences between quicktest professional (qtp) and winrunner?
How to attach a file to TD?
How you are developing the script? Using record and play back or manual?
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
How to check bitmap output value?
could any help me please, how to work on visual foxpro application using UFT
How do I get the QTP scripts result in xml format by using vb script function?
For which type of project the iterative model is suitable?
hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.
Connect to QC using AOM.