how to find number of characters(letter a) in
the sentence
Rain Rain Go away
Answer Posted / usha
str="Rain Rain Go away"
set r = new regexp
r.ignorecase=true
r.global=true
r.pattern="[A]"
set p=r.execute(str)
msgbox p.count
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How regexp.execute method works?
I am working on QTP, got struck in one place.. In my application depending upon configuration WebEdit count is increasing/ decreasing.. how to get these webedits..
How to assign a numeric value to a variable?
What is the output of a + b in vbscript if a = 5 and b = 10?
Explain the extension .hta?
What is byref and byval parameters in vbscript?
What are subprocedures in vbscript?
How will you get the natural logarithm of the given number in vbscript?
What is the difference between javascript and vbscript?
What is the extension of the vbscript file?
A folder is there inside no of textfiles are avilable. How do count the textfiles. Normally folder means we are using subfolder methods but textfiles is not working for subfolder methods and how do get file name also.
What is vbscript language used for and which earlier language is it modeled upon?
Hi, Can anyone please send me vb script examples to practice vb and also material to learn vb scripting in QTP? my email id : hareen_11@yahoo.com
I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?
Why is it recommended to close the database connection every time after the work is completed?