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 can I access an object in another frame?
What methods are used to create text files and open text files in the vbscript language?
what is visual basic?
How to pass the parameter from one function to another function in VB Scripting?
Difference between Do while loop and while wend loop
What is the difference between function and procedure?
What are the advantages of vbscript?
What is the use of option explicit statement?
Explain the tristate constants in vbscript?
Can automation testing find ssame no. of bugs what we can find by manual testing?
What's the difference between vbscript and vb.net?
In the Web page we have a table link, if we click on that link all the contents under that link will be sorted (asscending/Descending). Now i want to check in which order the list is ? for that i need to get the data in to some var How can i get that cells data?