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
Which constant is used for print and display functions and works as same as pressing enter key?
Explain different types of segment?
Explain about scrrun.dll?
Explain vbscript in detail?
Which function allows you to instantiate an object given its programmatic identifier or progid?
How can constants be declared in the vbscript language?
How will you get the exponent of the given number in vbscript?
write any ttest cases using check points and parameterization
How will you get the largest subscript of an array in vbscript?
How are arrays declared in the vbscript language?
how to write validation function for date in vb script
How will you release the memory acquired by an array variable in vbscript?
Explain few date functions in vbscript?
Can someone please tell me what poor design in a relational database (not the layout or style) is and how it can be avoided? PLEASE...im desperate.
PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com