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
How to give a call to another action from one action?
How many lines of code in each script of QTP?
What are the various automation frameworks available in qtp?
Where you are storing your script?
Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain
How many types of parameters are available in quicktest professional (qtp)?
before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...
Can I change properties of a test object?
What are the benefits of qtp?
i need qtp tutorial. pls send it to sridhar.k151@g mail.com
What is the latest version of qtp?
we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work
What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?
Hi All, How to Compare two strings character by character in QTP