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 |
Explain about tristate constants in vbscript?
how to organize files in object repository of qtp
write a vbscript for finding the sum of the numbers from 1- 50
How to get 120 using 5 zeroes, you can use any operator(+, *, /...) in qtp.
how many types of recording are there?
What are the differences between Visual Basic, VBA and VBScript? When would it be appropriate to use one as opposed to another?
What is dictionary object in vbscript? Explain?
Anyone have qtp11.0 crack?
What are class properties?
What are lbound and ubound in the vbscript language?
1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)
What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?