How to remove the spaces in a string Ex: "Welcome to
QTPWorld" ?

Answer Posted / krishna

Str="Quick Test Pro"
R=Replace(Str," ","")
msgbox R

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hellow friends, I am learning QTP,but here problem is VB script. please guide me how to learn VB script w.r.t QTP and if you know any books tell me or if you have any materials or any use full material or any else w.r.t QTP please post me p.p.sekhar

1963


What's the difference between vbscript and vb.net?

552


How can you destroy an object in vbscript?

639


How to write a VBscript for web page performance test i need a code send if any knows the code If any knows VBScript book plz send to me the link to my mail plz

2389


Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?

798






If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?

1556


When are redim statement and preserve keyword used in the vbscript language?

594


Hi Friends my Question is very simple,in Manual testing when we click on a hyper link it directs us to the relavent page or it re-directs us to the current page,so there we can easily write testcase but same thing if we do in automation script using QTP & need to generate report using Reporter.report event how we will do it?thanks in advance...

1653


How to delete a cookie using vbscript?

553


How to assign a date value to a variable?

591


How to access array data?

545


What are class events?

581


What are lbound and ubound in the vbscript language?

604


Explain about tristate constants in vbscript?

614


write a function to read the items from combobox of Flight reservation & save in excel (QTP)??

2393