Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / karthik janahan

Dim str
str = "how to count spaces in a given string"
msgbox (len(replace(str," ","..")) - len(str))

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

when will you do debug your script? and explain that process?

1887


how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer

1942


Name the properties you would use for identifying a browser and page when using descriptive programming?

944


how do u plan test automation?

1858


Can any body please tell me the steps of keyword driven framework of QTP.

1907


what is the advantages and disadvantages of using functions instead of re usable actions

1884


Explain how you can find length of array in qtp?

1003


How you will rate urself in QTP in the range of 0 to 5

2151


your coming from electrical backgroung..but y ur coming to software side?

1741


In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?

1950


Write a script to customize the test results in PDF and HTML format.

2504


Which functionalities of QTP used in banking project?

2391


What is Distributed testing? How does UFT support it?

986


suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question

1948


How many types of parameters are there?

940