how to count spaces in a given string ex: "this is jagadeesh"
in QTP with simple functional script

Answer Posted / nitin kumar

str="this is jagadish"
k=split(str," ")
msgbox("spaces are "&ubound(k))

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

1.explain end to end process of qc,2.how many tabs are in qc9.0,qc10.0 3.what is review, how many reviews are following in aproject 4.how will you get the requirements 5.why do we choose testing 6.how to export tc's and requirements to qc through add-ins

1530


How to use the object spy in quicktest professional 8.0 version?

628


What are the steps involved in the recovery scenario wizard?

645


What is difference in global and action sheet in qtp?

702


How can i initiate the objects to find uniquely in OR

1552






hou can we use vb script in qtp could u tell me breafly

1850


how to test Web application using QTP software

1651


How the exception handling can be done using quicktest professional?

635


What is the architecture of your project? Can any one answer for this question plz........

1484


if mandatory and Assitive propertys are shows same how will u write skript in QTP window

1729


What is the recovery scenario in qtp?

659


Explain in brief about the quicktest professional automation object model?

623


What is the extension of the recovery scenario file in qtp?

632


hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company

1544


Why do we use breakpoints in QTP?

679