There is a name "AJAY" how do u count no.of. "A" in that
name ?
Answers were Sorted based on User's Feedback
Answer / swarna
Dim txt, cnt
txt="ajay"
p=split(txt,"a")
cnt=0
for i=1 to ubound(p)
cnt=cnt+1
next
b=cnt
msgbox cnt
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / nayana
Dim str
str="ajay"
b=len(str)
for i=1 to b
c=mid(str,i,1)
if c="a" then
d=d+1
end if
next
msgbox d
| Is This Answer Correct ? | 0 Yes | 0 No |
Hello, Can we capture only the labels of the web page in the object repository. If yes, then how. Actually my scenario is: I have to capture all the label of mercury site http://newtours.mercuryinteractive.com/tour/mercurypurchase. php. and want to copy all these labels in the notepad. So,please help me how to do this all. Thanks in advance, Gaytri
HOW do we find a datasheet when there are 4 datasheets in data table.this question was asked by covansys interview.
How to make arguments optional in a function?
How to integrate the qualitycenter with qtp
object types is used for what?
Pls let me know how to find out creation time and index for the web application in descriptive programming?
In a web application , there is a table of rows and coloums , i want to pickup the 1st row and 3rd coloums name (not data)how can any one explain
what is meant by iterative model?What is its working principle?What are its advantages and what are its drawbacks?
Write a user defined function to count the no. of buttons existed in a webpage ? i dont want to use descriptive.create ()
What type of error u will get if u have not installed java add in in java project? what is the error name ?
What is InStr()
Hi. I have completed B.TECH(CS) , But I will go to "SECURITY CONSOLE OPERATING" [C.C CAMERA abservation]. IF interviwer asks " Why you choose this job ?" What we will say? urgent.........................urgent...........