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

What are events in the vbscript language?

1171


Mention when to use function procedures and what are its characteristics?

1199


How will you get the natural logarithm of the given number in vbscript?

1113


Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?

1014


How are comments handled in the vbscript language?

1054


How will you compare two strings in vbscript?

1126


How will you convert a given number to long in vbscript?

937


Explain the scope of the variables using dim, public, and private keywords respectively.

1198


How will you format a number in percetage format in vbscript?

1042


What is the main difference between function and sub-procedure?

1107


Explain about .wsf files?

1229


how to acces the remote mechine using vb cript(QTP)

2087


What is the difference between a dictionary and an array?

1121


What are class properties?

1226


What are the uses of vb script?

1094