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 |
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??
is qtp 9.2 create the scripts with the application run on mozilla firefox browser?
How can I map test requirement to Test Set (multiple test cases)? Under test lab, I have multiple test cases. I would like to map 1 requirement to all test cases under that test set (in test lab)? Currently, I think QC only allow mapping 1 test requirement to 1 test case. Instead I would like to map 1 test requirement to multiple test cases under one test lab.
4 Answers CarrizalSoft Technologies, DST Global Solutions,
Explain advantages and disadvantages of ddf?
How to save your test using quicktest professional?
Sql questions to find second max salary and how to use joins
We have a dynamic webtable where rows keep on adding.I have to click on particular row where the status changes to Update or Save.How do you click on Status(either it can be Update or save)
can u expect, major bugs in NET BANKING Project? Modules Transaction Module, Customer Relation Module.
Did QTP prove efficient for your project? Yes or No, explain?
Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..
Explain types of exception handling and script for that?
Explain about merging of two repositories?