How to remove the spaces in a string Ex: "Welcome to
QTPWorld" ?
Answer Posted / vasudha
Dim str
str="welcome to qtp"
arr=split(str," ")
For i=0 to Ubound(arr)
abc=abc&arr(i)
Next
print abc
| Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
Explain the asc function?
Which function allows you to instantiate an object given its programmatic identifier or progid?
What are the data types supported by vbscript?
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)
how to increase the values in text box in a given text box increament by two values by clicking on button
Which loop is used in case of arrays in the vbscript language?
how to acces the remote mechine using vb cript(QTP)
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
How to write functions and sub in vb script?
How to write VB script for login module?
What is the purpose of regexp object in vbscript?
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.?
Explain the functionality of vbscript?
What is the scope of a constant declared using public?
about vb scripting programs this type of all question& answers