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


Please Help Members By Posting Answers For Below Questions

Explain QTP using different development techniques ?

530


hi i have completed my b.tech in cse stream. now i am working in an organisation in testing department. i want do sap course but i dnt know which module will boost my career can anyone suggest me which is good for my career

1913


Have you faced any problems with object repository?

586


What are the types of object repositories? Which one is you are using?

623


How do you compare the structure of 2 tables in database and check whether they are similar using qtp.

1468






1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.

1666


how interviews will be on QTP?

1516


how will load the object during runtime?

1575


tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?

1517


How to use checkpoints in qtp ?

576


if anyone has idea of the interview procedure in covansys, plz send me a mail?

1519


What is the difference between run time object and test object?

571


What is the purpose of loading qtp add-ins?

619


Explain the use of action split in qtp?

554


In Remote acess server how u run a test?

1282