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 |
filter the array values without using filter function?
Explain about scrrun.dll in vbscript?
How will you reverse a string in vbscript?
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?
Mention what is the difference between vbscript and vba?
Anyone have qtp11.0 crack?
What are the data types supported by vbscript?
how to add action through AOM in QTP
How will you convert a string to lower case string using vbscript?
Difference between Do while loop and while wend loop
How should i Create Email invite with server-side Coding?
How to get 120 using 5 zeroes, you can use any operator(+, *, /...) in qtp.