1.How to find in which row or column,string "Hyderabad"
exist in excel sheet?
2.How to find how many times character "a" repeated in a
given string "Koteswararao"
Answer Posted / venkatesh naidu rangisetti
Option Explicit
Dim a,b,c,i,leng,var
b=0
c="a"
a="Koteswararao"
leng=len(a)
msgbox "length of"&" "&a&" "&"is"&" "&leng 'optional step
For i=1 to leng
var=mid(a,i,1)
If cstr(var)=cstr(c)Then
b=b+1
End If
Next
msgbox "Total Number of a's in Koteswararao are"&" "&b
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What the differences are and best practical application of Object Repository?
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...........
Hi All, How to get repeated word in string . Thanks Balaji
how to write xml output check point bu useing descriptive programing .means without useing output check point
How will you test a keyboard?
What is regular expression?
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?
How you debug your script?
What is action split and the purpose of using this in qtp?
Differences between text and test area checkpoints?
I want to grow as a Automation Engineer,Kindly help me in clearing my interview that what interviewer looks for as a Automation Engineer. I am having three years of experience in testing.
Hi All, How to Compare two strings character by character in QTP
Explain the concept of how quicktest professional identifies object?
What are the different types of recording modes?
How does qtp identify objects in the application?