How to remove the spaces in a string
Ex: "this is apple"

Answer Posted / anand

x= "This is VBScript"
y = Split(x)
msgbox join(y,"")

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What methods are used to create text files and open text files in the vbscript language?

534


Which operator is used to concatenate the 2 values in the vbscript language?

556


How strcomp function works?

624


Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?

545


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

490






Like OPTION EXPLICIT statement what are the other statements used in vbscript and their usage. Please post me all the statements please.

1619


Which in-built function is used to format the number in the vbscript language?

575


wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......

1489


Explain about the functionality of vb script?

567


In what way program "hello world" you can write in vbscript?

645


How to get the length of the string by making use of the string function?

560


i am having some basic knowledge in c and VB 6.0. i qtp i want to know how to write the codings. by recording it is generating lot of codings. for example i want to test the text box. senerio is text box should not accept alphabets if it accept alphabets we should return fail status if it get number we should return pass status. how to write coding in vb script please help me

1795


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

1852


Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.

1846


Why is error handling required?

569