How to findout the number of spaces with in STRING For Ex :
STRING is " RAJ IS A SOFTWARE ENGINEER "

Please send me the answer

Answer Posted / sadriddin

str=" RAJ IS A SOFTWARE ENGINEER "

NumOfSp = Len(str) - Len(replace(str, " ", ""))

Msgbox NumOfSp

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to idetfy which test cases are automated?who will deside that plz tell me

1538


I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?

1730


what is the difference betn QTP 8.0 AND PREVIOUS VERSION

1957


How to creating an output value using quicktest professional (qtp)?

573


i need qtp tutorial. pls send it to sridhar.k151@g mail.com

1643






In order to select an automation tool for automating ur application, what r the things u need to consider? For eg i will go for automation; 1) When there is a lot of retesting and regression testing. 2) Return on investments. 3) Whether the tool supports the appln. 4)--------------, etc. Pls give me more number of points because my answer did not satisfy the interviewer. Very urgent pls

1449


How will you report the bug and explain the defect tracking sheet you handled?

2559


Difference between copy to action and call to action?

594


Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji

927


After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans

1681


what are the utilities and drivers

1847


What are the differences between quicktest professional and winrunner?

541


If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?

1440


How to test results for qtp ?

789


Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in

1603