how to calculate no. of repeating characters in a a
string..please give me the code
Answer Posted / lakshmi
Hi Rajeswari,
could u please tell us the total no.of repeating charcters
in a given string. it is not specific to one character.
For ex i have a string like "abcdabcefghefg".
so here the total no.of repeating char's are 6.
so for this sring output should be 6.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What test cases can you automate using QTP?
Explain the concept of object repository?
how we connect 1. qtp9.2 to the quality center9.0? 2. Load runner8.0 to the quality center9.0
How you are developing the script? Using record and play back or manual?
Describe synchronization point.
What are metrics and matrix?
How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?
What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?
For which type of project the iterative model is suitable?
Does quicktest professional (qtp) is unicode compatible?
In qtp, how you can use xpath to identify objects?
how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods
What is the difference between run time object and test object in QTP?
What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?
How to handle dynamic objects in quicktest professional?