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


Please Help Members By Posting Answers For Below Questions

How many types of recording modes in qtp? Describe each type with an example where we use them?

621


what is the diff b/w assistive and mandatary rules of object repository in QTP???

1616


How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?

636


hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.

1848


How many ways we can parameterize data in quicktest professional?

565






How you can find length of array in qtp?

550


explain how to write vb script in qtp?when will you write own script?

1861


I want to do QTP Certification what is the pattern of Question paper.

1747


Explain more about the Test Fusion Report of QTP?

608


What is the difference between analog and low level recording?

629


Where to use Property Let, Property Get, Property Set in UFT

380


Is it possible to call win runner script in qtp?

631


How may types of defects identify application or your currently working application?pls give me answer..

1519


Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji

1330


Discuss quicktest professional environment?

595