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...


how can we reverse the string without using the revese of
String function in QTP?

Answers were Sorted based on User's Feedback



how can we reverse the string without using the revese of String function in QTP?..

Answer / pillae

Str = "Reverse"
Cnt = Len(Str)
RStr = ""
For i = 1 to Cnt
RStr = Mid(Str,i,1) & RStr
Next
Msgbox RStr

Is This Answer Correct ?    50 Yes 4 No

how can we reverse the string without using the revese of String function in QTP?..

Answer / ramana vanteru

str="ramana"
revstr=strreverse(str)
msgbox revstr

O/P will be: anamar

Is This Answer Correct ?    20 Yes 14 No

how can we reverse the string without using the revese of String function in QTP?..

Answer / digi

IPString="buddy"
Dim StrTemp

StrLen=len(IPString)
For i=0 to len(IPString)-1
StrEachChr=mid(IPString,StrLen-i,1)
StrTemp=StrTemp & StrEachChr
Next

msgbox StrTemp

Is This Answer Correct ?    4 Yes 3 No

how can we reverse the string without using the revese of String function in QTP?..

Answer / mahesh

Dim str,newstr,strrevers
str="QTP"
Set newreg=new regexp
newreg.global="True"
newreg.ignorecase="True"
newreg.pattern=".{1}"
Set newstr=newreg.execute(str)

Dim strarray()
For i=0 to newstr.count-1
ReDim preserve strarray(i)
strarray(i)=newstr.item(i)
Next
For i=0 to ubound(strarray)
strrevers=strarray(i)&strrevers
Next
print strrevers

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More Automation Testing AllOther Interview Questions

What issues come up in test automation, and how do you manage them?

0 Answers   HCL,


Can anyone tell me the correct answer of below question....it is about Bugzilla tool. When bug will find out at the time of executio where it will save or what is the location of bug??

0 Answers   Diya,


What is junit annotation?

0 Answers  


Hi, Can anyone please tell me which Test Automation tool can be used for : 1. Web based testing 2. .Net (C#) applications 3. Mobile applications (PDA)

1 Answers  


What are the phases in automation testing life cycle?

0 Answers  


How can you switch back from a frame?

0 Answers  


How to open an application through scripting in QTP? Give me Syntax and example please

2 Answers  


IS DATA INTEGRITY TESTING AND INTEGRATION TESTING ONE AND THE SAME?IF DIFF CAN U SPECIFY THE DIFFERENCES

0 Answers  


If automating - what is your process for determining what to automate and in what order?

1 Answers  


In general, how do you see automation fitting into the overall process of testing?

0 Answers  


Name the frameworks that are used in software automation testing?

0 Answers  


Best Online Training For Tosca Test Suite?Good Online Training For Tosca Test Suite?

0 Answers  


Categories