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: "this is apple"

Answer Posted / shashank shekhar raj

Hai,

Try this it's much easier

x="This is apple"
x=replace("This is apple"," ","")
MsgBox x

REPLACE is function in which i replace whitespace (" ")
by no space ("")

Is This Answer Correct ?    25 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How are arrays declared in the vbscript language?

1048


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

2087


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

1199


How to create a cookie using vbscript?

1271


What is the difference between function and procedure?

1309


How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.

3072


can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.

2359


Why is the use of exit do or exit for statements within loops discouraged?

1093


What is the difference between vbscript and vba?

1187


I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?

2042


What is dictionary object in vbscript? Explain?

1221


Explain the extension .hta?

1014


did any one attended interview in applabs if you had gone through plz tell me the procedure

2312


How can the spaces from the string be removed?

1056


Which operator can be used to do an xor operation in vbscript?

1312