Hi...
Can anybody help me to write the vbscript for this
question..!!! Am having a string "HELLO WORLD", i want to
find how many "L"s are there.....?????
--> HANEEF <--
Answer Posted / ashok kumar
str = "HELLO WORLD"
Set regex = New RegExp
regex.pattern = "L"
regex.Global = True
Set matches = regex.Execute(str)
msgbox matches.count
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
What is the Command used to start the QTP
Why is action split used by qtp?
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??
What is the differences between image check point and bit map check point?
Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..
wht type of User defined functions or Java Releated functions Do we write in VB scripting
How many types of recording facility are available in quicktest professional (qtp)?
Can launch two instances of qtp on the same machine?
Hello friends..... On which areas of an application we can not test with QTP
Explain the types of object repositorys in qtp?
What is the limitation to XML Checkpoints?
What is the script for database check point, bitmapchek point, regular expression ?
Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)
what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?
Please guide me release notes of Automation once scripts are completed