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"
Answers were Sorted based on User's Feedback
str=" i love india"
StrSpl = Split(str," ")
For j = 0 to Ubound(StrSpl)
result1 = result1 & " " & ReverseStr1(StrSpl(j))
Next
msgbox result1
Function ReverseStr1(Str1)
For i = 1 to Len(Str1)
ReverseStr1 = mid(Str1,i,1) & ReverseStr1
Next
End Function
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / lak
str=" i love india"
Set regExpObj=new RegExp
regExpObj.pattern="[a-z A-Z]"
regExpObj.global=true
Set matches=regExpObj.execute(str)
For each letter in matches
result=letter.value&result
Next
msgbox result
| Is This Answer Correct ? | 0 Yes | 1 No |
Cn u please clarify my doubt Where are micTab and micReturn used.Thanx in Advance
why can't you use excel directly in qtp. why we want to import excel data into Datatable.
Which scripting language QTP is using?
i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com
For which type of project the iterative model is suitable?
When to Insert transactions in QTP?
hi, can u tell me the QTP TEsting process in present real time companies?(beware of this... now a days Recording is not using,, only DP) and don't tell note book answers like step 1 spep2....like this .......post answer with professional skills in simple english words) thank u
What is runtime objects and test objects? What is the difference between them?
How to modify object property in qtp ?
What does VBS file contain?
how would you go for testing a web application like any jobsite?(using manual n qtp)..pls frnds its very urgent ..i need realtime answers...thanks in advance
What is qtpro? What is quick test pro? What is a quick test professional?