How to retrieve alpha bate from the alphanumeric string with
special character.
Answer Posted / nihar
str="BIBHU@#$%^^&*(sundar)(*&das"
set reg=new regexp
reg.global=true
reg.ignorecase=true
reg.pattern="[W]"
set x=reg.execute(str)
for each res in x
result=res.value&result
next
msgbox result
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Are Shared ORs read-only?
What are main panes available in qtp test browser?
What are the different types of checkpoints?
Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?
what is vmodel?advantages and disadvantages of vmodel?
Is any limitation to xml checkpoints?
in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and columns in action2. how can check using script?
This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10
Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..
How to analyzing the checpoint results?
in a web page How to check and display a particular word from a paragraph?
When ‘option explicit’ keyword is used in qtp?
What test you perform mostly? Regression or retesting in your testing process?
Can we write winrunner language i.e TSL in QTP tool?
Whats the realtime QTP testing process