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 to remove the spaces in a string Ex: "Welcome to
QTPWorld" ?

Answer Posted / vasudha

Dim str
str="welcome to qtp"

arr=split(str," ")
For i=0 to Ubound(arr)
abc=abc&arr(i)

Next
print abc

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to pass argument by reference to a function in vbscript?

973


What is the purpose of regexp object in vbscript?

961


Explain the constants in vbscript?

931


hi all, i had a question, that how to find out hiding a coloumn in a table i had a table having the following column names NAME DESCRIPTION CREATED TIME CREATED USER if i right clicked on a NAME column it will displays a menu having the same column names in a list like NAME DESCRIPTION CREATED TIME CREATED USER with check boxes.if i unched any check box, that column name should not be appear in the main table column names could anyone please solve this problem?

1945


What is dictionary object in vbscript? Explain?

1115


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

901


How strcomp function works?

1017


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

900


How will you release the memory acquired by an array variable in vbscript?

1166


Explain a few date functions in vbscript

937


How are arrays declared in the vbscript language?

941


Is vbscript a case-sensitive or case-insensitive?

1200


how to set one column as primary key in QTP and fetch values accordingly

2260


how to automatically update the sql server2005 database records when insert in vb6?

1884


Which object provide information about a single runtime error in a vbscript?

1011