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
What are the views available in quicktest professional (qtp)?
How many scripts did you have?
Define virtual object?
What is keyword driven framework?
How to open a new test using quicktest professional?
What is data driver in qtp? Where we use it?
Have you used xml check point in your project? How?
What is the difference between keyword view and expert view?
What are the different types of recording modes in qtp? Which will be used when?
What is an object repository?
On what document base Descriptive programming is written if build is not yet ready ?
write the vb script for call to new action in qtp?
Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji
what are the mandatory properties for a tex boxc (scenario?)
I want to write some certification courses, so friends could you guide me? which certification is best and how to write exam and what tutorials need to be studied,what to do first, I am working on automation tool QTP 9.2