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


Please Help Members By Posting Answers For Below Questions

Describe the differences between functions and actions in UFT?

600


What does mean by Scope of Automation?n How we defined it?

1564


How can you pass value one action to another action?

545


How you can make an action as re-usable action?

641


X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?

1493






What is RTM (require ment tracebulity marix) fromate?

1516


what could go wrong with test automation?

1496


what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana

1451


Define Environment Variable in UFT and its uses?

601


Discuss quicktest professional environment?

581


How will you handle java tree in qtp?

619


Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com

1405


What is output value? How many types of output values are there in qtp?

573


can u explain relative path architecture framework in qtp?

1553


What is the difference between keyword view and expert view?

597