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

Answer Posted / vinay

Str = Welcome to QTP World
Replace(Str," ","")


Result= WelcometoQTPWorld

Is This Answer Correct ?    27 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are keywords in the vbscript language?

521


What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?

486


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

2385


How many types of procedures are available in the vbscript language?

532


Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji

1241






Difference between dim,public and private variables in vb script?

525


What is Procedure or Subroutine in VB Script?

600


what is the differance between BYVAL,BYREF?

1765


How will you get the last occurrence of one string within another string using vbscript?

680


How to create a function in vbscript?

584


What is the output of a + b in vbscript if a = 5 and b = 10?

2086


Explain about the extension .hta?

619


What are the properties of regexp object?

579


Which loop is used in case of arrays in the vbscript language?

518


Explain different types of segment?

565