How to remove the spaces in a string
Ex: "this is apple"
Answer Posted / eswar
s = "this is apple"
x = Split(s," ")
For each i in x
y=y&i
Next
MsgBox y
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
How are comments handled in the vbscript language?
Which function allows you to instantiate an object given its programmatic identifier or progid?
Mention what is the technology used by vb script?
What is the difference between vbscript and vba?
what do you mean .ota mobile format
if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.
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
I have an excel sheet with multiple ID's in a column. Now i need fetch those ID's in an application and check whether if it already exist in the DB. If not then i have to go with the process of inserting them in the DB. If it exists then i need to skip that ID and move to the next ID and check the same and proceed. How can i do that with for loop and if condition?
How to pass argument by reference to a function in vbscript?
1. How do declare public variable in vb scripts?
How to find the font in qtp. Scenario:After entering the username and passwd you will be navigate into the "welcome:Username" page.Now I want to extarct font for this message.
Which function is used to perform string comparison?
I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.
Mention how to access array data?
What is the main difference between function and sub-procedure?