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 is the difference between do until loop and do while loop?
What is sql loader? Explain the files used by sql loader to load file?
How to assign a numeric value to a variable?
If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?
how to set one column as primary key in QTP and fetch values accordingly
Write a test case using Test if the images,a particular test exists,check if the page links match,page response is within a certain range,parameterization of the test,the test should comprise of actions,the test should use a custom function,the test should use global repository
How to make sure that items in a wintree are sorted al?
how to increasing the numbers in a given text box please write a vb script
What is the purpose of drive object of scripting.filesystemobject class in vbscript?
give me any information abou vb script books learn quckly
Write a Script for ATM in QTP
Mention what if you do not specify anything when you call a procedure?
create a form to accept username and password validate the username and password with using message box, display the corresponding user message
What are the uses of vb script?
How will you get the smallest subscript of an array in vbscript?