I have string like hp company.print tis like company hp.write a program in vbscripting
Hi,
We can write a code in 2 ways. one is Generic Code and another is Hard Code.
In Generic Code:
Str="hp company"
ArrayStr=Split(Str)
For i = uBound(ArrayStr) to 0 Step-1
expStr=expStr &" "& ArrayStr(i)
Next
msgbox expStr
-------------------------------------------------
In Hard Code:
Str="hp company"
ArrayStr=Split(Str)
expStr= ArrayStr(1)&" "&ArrayStr(0)
msgbox expStr
Is This Answer Correct ? | 2 Yes | 0 No |
How to get the background color of a weblist?
HOW TO OPEN NEW TAB USING VB SCRIPT IN QTP?
can any body give the code to write the function for given suppose user login with usrer id and pwd to yahoomail.after cliking "sign in"if it is valid user id the next page will display userid'message box.( Note u have to use excel sheet to retrive the userid's data)
compare the string without using stringcomp function?
Explain the arrays in vb script?
Illustrate briefly about the different types of statement
how to write function to validate the number of characters entering into the text box?
How can you have different number of cells for each row of a table in HTML?
who will create the object?
We have an application which is built using multiple technologies and are using QTP as the tool for Automating the same. While we spy over a combo box in this application, we get the object name as a "Combo Control" and we are not able to perform any action over this object in either selecting or checking any method for the same like "Exist" etc. Hence we thought of a solution and the same can be found below
What is difference between Active screen and movie screen recorder in QTP 9.2?
How do you declare a variable in vbscript?