get the order no from the following orderdetails
orderstring="ORD13456PNR"
eg:13456
Answer Posted / srikanth
Dim mystring, myLength
mystring = "ORD13456PNR"
myLength = Len(mystring)
For i = 1 To myLength
If Asc(Mid(mystring, i, 1)) <> 32 Then
If Asc(Mid(mystring, i, 1)) >= 48 And Asc(Mid(mystring, i, 1)) <= 57 Then
myNumber = myNumber & Mid(mystring, i, 1)
End If
Else
msgbox("no numeric")
End If
Next
msgbox(myNumber)
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is meant by Output Value in UFT?
What is the use of an object spy tool in qtp?
Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.
Which environments does qtp support?
terminal services client
How to modify object property in qtp ?
What are the trigger events in qtp?
iam have done mba(finance)in 2008. in 2008 one reputed consultancy came off campus interview our institution. i got job as "manual test engineer". now iam working as "manual testing engineer". now my problem is when iam going interview the interviewer asking like " ur mba gradute how can u get job in test engineer." this question i have faced every interview. iam explaining how iam getting job. but they are not trust me". pls tell me answer how i am giving relavent ans.. this is my mail id y.ramana84@gmail.com
Explain about business process component? types and usage?
Explain how qtp identifies objects?
Explain the concept of object repository and how QTP recognizes objects?
How to open a new test using quicktest professional (qtp)?
What is the use of text output value in quicktest professional?
What is the parameterization? Give one example?
wht type of User defined functions or Java Releated functions Do we write in VB scripting