How to remove the spaces in a string Ex: "Welcome to
QTPWorld" ?
Answer Posted / mithuna reddy
Dim str,arrsplit,arrjoin
str = "Welcome to QTP World"
arrsplit = Split(str," ")
arrjoin = Join(arrsplit,"")
MsgBox arrjoin
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
How will you get the last occurrence of one string within another string using vbscript?
Explain about adodb.stream class?
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.
When does ‘on click of button’ event gets triggered in the vbscript language?
Explain different types of segment?
What is the purpose of folders object of scripting.filesystemobject class in vbscript?
A folder is there inside no of textfiles are avilable. How do count the textfiles. Normally folder means we are using subfolder methods but textfiles is not working for subfolder methods and how do get file name also.
hi i am trying for testing job for 3+ experience(fake) can u suggest me what type of projects i can keep in my resume and how much of knoeledge i should have abt that project.thnks in advance.urgt plz
Write a function for Instr(). We need to write a function that works as same as Instr(). Code or Even pseudo code is good enough for me.?
How to Convert Hex color code to color name in VB Script?
What methods are used to create text files and open text files in the vbscript language?
Like OPTION EXPLICIT statement what are the other statements used in vbscript and their usage. Please post me all the statements please.
How will you compare two strings in vbscript?
Explain about tristate constants?
What is loose binding? Why is it not a good practice to use it?