How to remove the spaces in a string Ex: "Welcome to
QTPWorld" ?
Answer Posted / sowjanya
Msgbox Replace("wellcome to qtp world"," ","")
OR
str= "Wellcome to qtp world"
arr=Split(str," ")
for i=0 to Ubound(arr)
abc=abc&arr(i)
next
msgbox abc
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the uses of vb script?
Write a Script for ATM in QTP
What if you do not specify anything when you call a procedure?
wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......
Which data type/types are supported by vbscript language and what are their specialties?
i have a problem with this error(this error related edit and
delete button,when i click this button in datagrid..i will
get this error)"Invalid postback or callback argument.
Event validation is enabled using
did any one attended interview in applabs if you had gone through plz tell me the procedure
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
how to increase the values in text box in a given text box increament by two values by clicking on button
Which in-built function related to an array joins substrings into one string in the vbscript language?
What is the event handling in vbscript?
How will you convert a string to upper case string using vbscript?
Why to use option explicit in vb script?
What is the difference between for loop and while loop?
What is vbscript?