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


write the code to reverse a string without using Strrev
built in function.

Answers were Sorted based on User's Feedback



write the code to reverse a string without using Strrev built in function...

Answer / fatekiller

code to reverse a string

first i wrote a function and then called that function to
reverse a string.


mystr=inputbox("enter the string")
ms=revstr(mystr)
print(ms)


Function revstr(mystr)
L=len(mystr)
revstrr=""
For i=0 to L-1
c=mid(mystr,L-i,1)
revstrr=revstrr&c

Next
revstr=revstrr
End Function

This program is written using the concept of MID function.

Is This Answer Correct ?    4 Yes 5 No

write the code to reverse a string without using Strrev built in function...

Answer / m.bindu kumar

'Code to reverse a string without using strrev using
functions

Function stringreverse(a)
strlen=len(a)
For i = strlen to 1 step -1
strrev=mid(a,i,1)
stn=stn+strrev
Next
msgbox stn
End function

Dim strrev,strlen, strname,stn
a=inputbox ("enter the string to reverse")
stringreverse(a)

Is This Answer Correct ?    3 Yes 6 No

write the code to reverse a string without using Strrev built in function...

Answer / ram

x="abcdefg"
v= len(x)
For i=1 to len(x)

newstr=mid(x, v,1)

a=a&newstr

v=v-1
Next


msgbox a

Is This Answer Correct ?    2 Yes 5 No

write the code to reverse a string without using Strrev built in function...

Answer / guest

strrev("star")

Is This Answer Correct ?    3 Yes 37 No

Post New Answer

More QTP Interview Questions

How to find RAM size by using QTP?

2 Answers   IBM,


How many types of actions are there in quicktest professional (qtp)?

0 Answers  


Are You using any frame work? What is that? Explain about that.

4 Answers   Wipro,


What is the difference between the keyword view and expert view?

0 Answers  


What is difference between Recording time object identification and Run time (Execution) time.

0 Answers   Tech Mahindra,


What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this

0 Answers  


How u prepare Test result summary in QTp?

4 Answers   CGI,


Why do we use breakpoints in QTP?

0 Answers  


how to create external data table?

1 Answers   TCS,


How will u integrate oracel with QTP?

2 Answers   Microsoft,


i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji

0 Answers  


What scripting language is QTP of?

1 Answers  


Categories