How to remove the spaces in a string Ex: "Welcome to
QTPWorld" ?
Answer Posted / vishnu
Str = "Welcome to QTPWorld"
Sp1=Split(str)
For i=0 to ubound(Sp1)
temp=temp&Sp1(i)
Next
print temp
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is dictionary object in vbscript? Explain?
How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.
1. How do declare public variable in vb scripts?
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.
How to Import data from a file (file is on the desktop) to the data table
What are the special sub-types in vbscript?
How to make sure that items in a wintree are sorted al?
while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans
Write a Script for ATM in QTP
How to access array data?
i need to sort the data using qtp script for this how i need to write a qtp script
Mention the rules for using option explicit statement?
Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?
What is byref and byval parameters in vbscript?
what is the difference between modular and data and keyword driven framework