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 retrive that the number of spaces are in a string ????

Answers were Sorted based on User's Feedback



how to retrive that the number of spaces are in a string ????..

Answer / kamakshya prasad

Dim str
str="QTP, an automation Tool uses for software testing"
s=split(str," ")
msgbox ubound(s)

Is This Answer Correct ?    6 Yes 0 No

how to retrive that the number of spaces are in a string ????..

Answer / uday

You just split with space, and the ubound of that array +1
is the number of spaces.

Is This Answer Correct ?    5 Yes 4 No

Post New Answer

More QTP Interview Questions

Could anyone please tell me one situation where you have used recovery scenarion in real time with an example?

4 Answers  


what is the use of descriptive programming in QTP ? when we need to use DP? can we test the application completely with out useing DP?? please explan with example

2 Answers  


I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.

0 Answers  


For example one window is there the window contain some of Check boxes but my question is how many check boxes are there particular window? Please solve the problem gi_raju@rediffmail.com ippaliraju@yahoo.co.in

3 Answers  


Hello everyone, I am trying to parametrize a script. Its clear to me that, we use data table to enter various text data. but if I want to change the radiobutton (e.g. if for first iteration I selected radio button 'A' and for second iteration I want to use 'B' radio button for second iteration) then how can I make it happen. I have tried to define the question but still if not clear plz tell me. Thanks everyone

1 Answers  


what is the purpose of .vbs file?

2 Answers   HCL,


what is the exact Diff. Between Test and Component in QTP?

1 Answers  


How to start recording using quicktest professional (qtp)?

0 Answers  


What is checkpoint in qtp?

0 Answers  


How can we redirect QTP results in to a excel sheet after the execution

3 Answers   SAP Labs, Virtusa,


What is the use of sendkeys and what are send keys

0 Answers  


Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly

0 Answers  


Categories