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
How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.
Which event is triggered when mouse focus comes out of an element in the vbscript language?
Explain the extension .hta?
What is the technology used by vb script?
Explain the asc function?
Which data type/types are supported by vbscript language and what are their specialties?
What is the difference between do until loop and do while loop?
what is resorceallocation
How will you reverse a string in vbscript?
Explain the support of asp for vb script functionality?
What are the different types of loops available in the vbscript language?
Out of the different type of operators, which are evaluated first and last in the vbscript language?
What is vbscript?
Plzzzzzzz can any one tell me which is the best institute in hyderabad for learing VBScript. plz do answer guys its urgent plzzzzzzz. thanks in advance.
Difference between dim,public and private variables in vb script?