get the order no from the following orderdetails
orderstring="ORD13456PNR"
eg:13456
Answer Posted / phani
Dim text,num,only_text
text=inputbox("enter text")
n=len(text)
For i=1 to n
a=mid(text,i,1)
if isnumeric(a)=true then
num=num&a 'numbers are store in this
else
only_text=only_text&a 'text is stored
end if
Next
msgbox num
msgbox only_text
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
How many types of recording modes in qtp? Describe each type with an example where we use them?
what is the diff b/w assistive and mandatary rules of object repository in QTP???
How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?
hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.
How many ways we can parameterize data in quicktest professional?
How you can find length of array in qtp?
explain how to write vb script in qtp?when will you write own script?
I want to do QTP Certification what is the pattern of Question paper.
Explain more about the Test Fusion Report of QTP?
What is the difference between analog and low level recording?
Where to use Property Let, Property Get, Property Set in UFT
Is it possible to call win runner script in qtp?
How may types of defects identify application or your currently working application?pls give me answer..
Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji
Discuss quicktest professional environment?