Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Reverse a string keeping the words in the string as it is.
E.G. "Quick Test Professional"
O/P "Professional Test Quick"

Answers were Sorted based on User's Feedback



Reverse a string keeping the words in the string as it is. E.G. "Quick Test Professional"..

Answer / abbas

Var1="Quick Test Professional" 'Store String In One Variable

Arr=Split(Var1, " ") 'Split String By Space

For i=UBound(Arr) To 0 Step -1 'Run A Loop
Var2=Var2 &Arr(i) &Space(2)
Next

Msgbox Var2

Is This Answer Correct ?    12 Yes 0 No

Reverse a string keeping the words in the string as it is. E.G. "Quick Test Professional"..

Answer / 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

Reverse a string keeping the words in the string as it is. E.G. "Quick Test Professional"..

Answer / guest

str="Quick Test Professional"
split_str=split (str," ")
For i = ubound(split_str) To 0 step-1
Print split_str(i)
Next

Is This Answer Correct ?    1 Yes 0 No

Reverse a string keeping the words in the string as it is. E.G. "Quick Test Professional"..

Answer / pravati

x="Quick Test Professional"
y=split(x," ")
msgbox ubound(y)
for i=ubound(y) to 0 step -1
msgbox y(i)
next

Is This Answer Correct ?    0 Yes 0 No

Reverse a string keeping the words in the string as it is. E.G. "Quick Test Professional"..

Answer / lak

dim str,strCnt ,revstr
str = InputBox("Enter your required String")

strCnt = len(str)

for i=1 to strCnt
revstr = mid(str,i,1)
Next

msgbox revstr

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More QTP Interview Questions

in QTP, we have options like (record and play,recording modes(normal,analog,low level),object identification,smart identification,object repository,synchronizing test,transactions,checkpoints(std,bitmap,text,text area,DB,XML,accessibility),regular expression,actions,data driving,parameter,parameterization,data tables,recovery scenario(pop up,object state,test run error,application crash). real time users of QTP, pls say and when and at what point u have used all these options ,in ur concerned project.pls give me explanation in accordance with ur real time project handled. real users pls send some time in the aboue case. if u can send the the reply through allinterview or at ref_it_ref@yahoo.co.in

1 Answers  


how to select the work for complete automation and one more thing when u are going to choose automation

3 Answers   Fidelity,


What do you mean by checkpoints in qtp?

0 Answers  


How to use QTP for Regration testing, plz tell as with short Example of login window? plz tell as....

2 Answers  


Please clarify Automation and QTP both(names) are same or diff?

1 Answers  


What are main panes available in qtp test browser?

0 Answers  


Explain the check points in QTP?

22 Answers   Gray Matrix, IBM, Microsoft, Prapan Solutions, Zensar,


Will QTP Support Japanese Language?

3 Answers   Cap Gemini, Infosys,


what is stlc and its contents?

1 Answers  


What are the steps involved in recovery scenario wizard?

0 Answers  


How do u do batch testing in WR & is it possible to do in QTP, if so explain?

1 Answers   Crea,


After coming to know that QTP could not identify non-standard objects, we set those non-standard objects as virtual objects using Virtual object wizard. But how can we identify that qtp could not identify non-standard objects?

6 Answers  


Categories