How to remove the spaces in a string Ex: "Welcome to
QTPWorld" ?
Answer Posted / krishna
Str="Quick Test Pro"
R=Replace(Str," ","")
msgbox R
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
what is the features of visual basic?
How will you get a subset of a array in vbscript?
i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click
Why is error handling required?
How to add actions in driver script to run those actions in QTP?
What is sql loader? Explain the files used by sql loader to load file?
Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?
How regexp.execute method works?
regular expression that will recognize a browser as long as its name property starts with mybrowser
Write a function for Instr(). We need to write a function that works as same as Instr(). Code or Even pseudo code is good enough for me.?
Like OPTION EXPLICIT statement what are the other statements used in vbscript and their usage. Please post me all the statements please.
How you can call vbscript functions?
I have an excel sheet with multiple ID's in a column. Now i need fetch those ID's in an application and check whether if it already exist in the DB. If not then i have to go with the process of inserting them in the DB. If it exists then i need to skip that ID and move to the next ID and check the same and proceed. How can i do that with for loop and if condition?
Which function is used to perform string comparison?
How can constants be declared in the vbscript language?