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 |
write a text script to display * as below ********** **** **** *** *** ** ** * * * * ** ** *** *** **** **** **********
write a vbscrpit to swap values
What are the advantages of vbscript?
write a vb script to find simple interest using functions
What is select case statement?
What is purpose of scripting.filesystemobject class in vbscript?
how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.
int a=4857 i need output as 7584.without using any inbuild function?
Which operator is used to concatenate the 2 values in the vbscript language?
Here in my automation tool, i am retreiving some values and i need to store this values in the excel. How can i achieve this?. We are using VBA as scripting language. please let me know if you require any further inputs.
can u test the application without add-in?
Mention when to use function procedures and what are its characteristics?