how to reverse a string with out using string or predefined
function,ex:string is " i love india". the output should be
like this "i evol aidni"
Answer Posted / sreenu
Dim str,arr
str = "i love india"
m=split(str," ")
For k=lbound(m) to ubound(m)
mystr=m(k)
strlen = len(mystr)
ReDim arr(strlen)
For i = strlen to 1 step -1
arr(i) = mid(mystr,i,1)
x = x & arr(i)
Next
x=x&" "
Next
msgbox x
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the different types of action?
What Folder Structure following in Keyword Driven Frame work?
what you mean by artifact,milestone...
what type of automation is follwed in the project?
What are the advantages of a Hybrid framework?
What is the Difference between test object and run time object?
What are the ways you can synchronize?
What is the difference between call to existing action and copy of an action?
what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”
How to open a new test using quicktest professional (qtp)?
If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?
What is contained in the object repository?
How will you check that your test cases covered all the requirements?
Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.
What is the extension of qtp local repository?