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 can i count "spaces" in any sentence or a string
if suppose " It is a Testing question"
Here we have 4 gaps(spaces)
Is there any function to find out spaces between words

Answer Posted / sri

s="Gita is a good girl "
d=split(s," ")
count =0
For i=ubound(d) to 1 step -1
count =count +1

Next
msgbox count

Is This Answer Correct ?    11 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many ways we can parameterize data in quicktest professional (qtp)?

1072


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))

2012


Where to use function or action?

1167


what is the difference between development and testing

3693


What is qtpro?

1052


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

2198


What is the difference between call to existing action and copy of an action?

1093


Hi, How Accessibility checkpoint in QTP can be implemented in the test script?

2121


Is it possible to switch between recording modes during a test creation?

1045


What are the different recording modes?

987


Can we Test Welcome Screens and Process Images with QTP

1937


Whether qtp 9.0 supports Test director8.0

2572


What phases are involved in testing an application in qtp?

1004


How QA specialist can identify when programmatic descriptions are useful?

2482


Can we run test with out adding object in object repository? How it is possible?

1069