how to calculate no. of repeating characters in a a
string..please give me the code
Answer Posted / devi
The above script is correct. Apart from that script i have
one more script for finding no. of repeated characters in a
string
Suppose we have to know how many "s" are there in mississipi
code follows:
mystring = "mississipi"
charcount=len(mystring)-len(replace("s",""))
msgbox charcount
then output is : 4
| Is This Answer Correct ? | 6 Yes | 11 No |
Post New Answer View All Answers
What are the different types of recording modes?
What is business process testing(bpt) in qtp?
How to test fly out menu in qtp?
What is system testing and what are the different types of tests you perform in system testing?
What is difference between design time and run time data table?
if numbers are always changing write a script for that
in my application,validation message has in japanise language.how to validate this message is appears properly or not
what is the diffrence bw qtp architectute and qtp framework?
how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel
Hi, I'm a beginner in QTP and planning of a certification in QTP, but have no idea about it :P. Could anyone please tell me what certifications that a QTP- beginner can take? What is the fees and the syllabus for the certification? Please reply soon. Thanks Vidhya
When ‘option explicit’ keyword is used in qtp?
Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.
How do you delete unwanted results in qtp?
What is the diff between image and bitmap check point?
What are table and db checkpoints?