how to reverse the string without using bultin functions(i.e
mean mid,len ,reverse functions)
Answer Posted / gabbar singh
Just handling special chars also. addition to chaitanya's answer
Set r=new regexp
r.global=true
r.pattern="[a-z A-Z 0-9 \W]"
srcstring="sdsd1212@!@"
Set s=r.execute(srcstring)
For each letter in s
result=letter.value&result
Next
msgbox result
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to add synchronisation points in qtp?
What are the Application Functions available in QTP?
What is the architecture of your project? Can any one answer for this question plz........
what are the utilities and drivers
To which environments does quicktest professional supports?
What are the steps involved in recovery scenario wizard?
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
What kind of performance is expected on the client side (e.g., how fast should pages appear, how fast should animations, applets, etc. load and run)?
What is action? How many types of actions are there in qtp?
is there any addin for remedy user application
I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?
how to test load test and block box testing an a web based application pls give ans briefly
Describe the differences between functions and actions in UFT?
How can we retrieve the Bug Ids which are open&Reopen in status through QTP scrit?Please find the script which i tried... Dim objBugFactory, objBug Dim BugId Set TDConnection = QCUtil.TDConnection Set objBug = TDConnection.BugFactory If QCUtil.IsConnected then Reporter.ReportEvent 0, "Connected", "Connected to server: " + QCUtil.TDConnection.ServerName + chr (13) +"Project: " + QCUtil.TDConnection.ProjectName + chr (13) + "Domain: " + QCUtil.TDConnection.DomainName Reporter.ReportEvent 0, "Current time on server is","==>" & TDConnection.ServerTime Else Reporter.ReportEvent 1, "Not connected", "Not connected to Quality Center" End If If mybug.Status="Open" Then BugId=mybug.DefectId MsgBox BugId End If 'OR**********************************--------------------- -----********************************** If Bug_Fields("BG_STATUS").Value ="Open" Or "Re Open"Then BugId=Bug_Fields("BG_BUG_ID").Value MsgBox BugId End If
How will you handle java tree in qtp?