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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

how to convert 100 into hundred repees only and viceversa

1564


What contains Data Driven Framework document in qtp?

1543


Explain actions in qtp ?

632


How do you know the location Id of an object if you know its index id?

688


whow much strong on VB and C?

1582






What is a data driven test in qtp?

679


Hi this is chandra if any one have Navigation of LAB QTP, I want Navigation of those tools, if any one have the and know the Navigation each and every part of the QTP, plz send me my mail naruboinac@yahoo. com,naruboinas@ gmail.com

1535


how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods

1470


X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?

1628


Is any limitation to xml checkpoints?

654


I am Facing Issues with learing datepicker 1)when i first learn datepicker as current system date . 2)if i wanna runtime datepicker value it gives error

2440


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

1850


describe some problems that u had with automating testing tool?

1483


How to attach a file to TD?

755


How do I generate Test Results window using descriptive method ( run time ) after my test execution process? Please have a look of my below code. ========================================================= Dim qtApp Dim qtTest Dim qtResultsOpt Set qtApp = CreateObject("QuickTest.Application") qtApp.Launch qtApp.Visible = True qtApp.Options.Run.CaptureForTestResults = "Always" qtApp.Options.Run.RunMode = "Fast" qtApp.Options.Run.ViewResults = True qtApp.Open "C:\Automation\Example", True Set qtTest = qtApp.Test qtTest.Settings.Run.OnError = "NextStep" Set qtResultsOpt = CreateObject ("QuickTest.RunResultsOptions") qtResultsOpt.ResultsLocation = "C:\Automation\Example\Res1" qtTest.Run qtResultsOpt MsgBox qtTest.LastRunResults.Status qtTest.Close Set qtResultsOpt = Nothing Set qtTest = Nothing Set qtApp = Nothing ========================================================== This code is working fine, but Test Result window is not displaying after execution. Anybody can please help me regading the same. Thanks Akshaya Madali Capgemini India Pvt Ltd 9823213538

3759