get the order no from the following orderdetails
orderstring="ORD13456PNR"
eg:13456

Answer Posted / friend

i think we ll get order no exactly by using regular expression
concept......

orderstring="ORD13456PNR"
set r = new regexp
r.pattern="[0-9]+"
set n=r.execute(orderstring)
for each num in n
prrint n.value
next


am i correct.....

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the basic concept of quicktest professional?

536


What is qtpro? What is a quick test professional?

587


Explain about the test fusion report of quicktest professional?

535


How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?

1811


Explain the concept of object repository and how quicktest professional recognises objects?

560






What is quicktest professional?

559


Explain the concept of how quicktest professional (qtp) identifies object?

577


What is environment variable in qtp and why to use it?

551


what are the utilities and drivers

1847


i need qtp tutorial. pls send it to sridhar.k151@g mail.com

1641


When you open QTP, how many sheets you can see?

664


Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

1572


how will you load the test cases in ddt?

1598


In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!

2388


Explain the parameter in qtp?

583