Reverse a string keeping the words in the string as it is.
E.G. "Quick Test Professional"
O/P "Professional Test Quick"
Answer Posted / manjunathareddy
Dim str
str=CStr(InputBox("Enter the String here"))
Arr=Split(str," ")
For i=UBound(Arr) to 0 Step - 1
var=var&Arr(i)&Space(2)
Next
Msgbox var
=====================OR======================
Dim str
str=Cstr(InputBox("Eneter the String here"))
a=Split(str," ")
Arr=Array(a)
Msgbox a(2)&" "&a(1)&" "&a(0)
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is checkpoints for qtp?
Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?
How many types of recording modes in the qtp?
Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..
• What type of testing questions will be asked for 2+ yrs exp people in interview?
what is clean sweep?
How to do call a output parameter from one action to another action??/
If I change the property value at runtime is it effect is object repository?
How to add object to object repository in qtp9.0 Suppose for brower yahoo home page
Hybrid framework supports Descriptive programming. Is it true?
what is the difference between IE & Netscape in web testing on a log in page
Can the user toggle between using Local OR and shared OR for the same action?
Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji
How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..
How do you compare the structure of 2 tables in database and check whether they are similar using qtp.