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 vbscript language used for and which earlier language is it modeled upon?
Explain the functionality of vbscript?
Explain vbscript in detail?
How are values assigned to string type and numeric type variables?
How to open a file. What is the perpose of true and false mode there?
How many types of operators are available in the vbscript language?
We have 1 web page with names column. I am giving the Service Providers1,2,3.... @ that time dynamically some no of names are displaying in the webpage and The Pop up windows are opening(No.of Pop Up windows=No.of Names). The names may be diffar for each and every Service Provders (Dynamically) How can we handle the Dynamic values?
Out of the different type of operators, which are evaluated first and last in the vbscript language?
Explain the scope of the variables using dim, public, and private keywords respectively.
There are 5 web pages.write a script to click the button on 4th web page.
Hellow friends, I am learning QTP,but here problem is VB script. please guide me how to learn VB script w.r.t QTP and if you know any books tell me or if you have any materials or any use full material or any else w.r.t QTP please post me p.p.sekhar
How to delete a cookie using vbscript?
Anyone have qtp11.0 crack?
How many types of procedures are available in the vbscript language?
What is Procedure or Subroutine in VB Script?