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

Hi All, I am facing one problem in QTP. There is link object in my application that exist in the Frame in mozilla firefox. Click event on that object is not working but once the frame is enabled/activated then click event works fine.But the frame does not have the activate property. This problem is coming in firefox only. Regards

2254


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

1845


Explain the constants in vbscript?

555


How to create a cookie using vbscript?

578


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

1231






how to write codings in QTP using vb script. please help me. i am new to QTP. it is easy or very much tough. please tell me

12866


Mention what is the use of option explicit in vbscript?

537


Differentiate javascript and vbscript?

558


Does VB/Win make standalone .EXE files?

2891


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

1815


I need to get some data from data base and store this (retrieved) data in a excel sheet using VB script in QTP9.0 I have created connection for data base I have created as excels sheet by using Set XL=CreateObject("Excel.Application") XLworksheet.cells(1,1).value= rs.fields.item("<>") I have taken a for loop and changed the cells values (1 as i and another 1 as j) But still I am not able to get Plz kindly tell me know this . It is very urgent

1761


How are values assigned to the variables in the vbscript language?

566


Explain the arrays in vb script?

581


Compare java script and vb script?

584


Write a Program to add 2 numbers without using operators (+,-) and without using third variable. Note: Use VBScript only Hint: You can use other operators like '/' & '*'(Division & Multiplication)

3179