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

Hi we are using QTP9.0 for Seibel Application and this seibel application will give you a popup messagebox which is of web , so qtp takes 3 mins to recognize the messagebox and to click on it , we have more number of messageboxes like this . please suggest me some solution

1667


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

1421


i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji

1575


can any one say that where we can download the QTP trail version ??????????

1360


Can any one send me the QTP Basic Coding Samples?

1614






Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks

1412


how can we compare descriptive programing with a regular expression

1925


Describe synchronization point.

579


How many add-ins comes by default with qtp?

539


How many ways we can parameterize data in quicktest professional?

557


How to test background color and dynamic images during run time can you put the check point for moving objects?

1447


Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?

1558


iam have done mba(finance)in 2008. in 2008 one reputed consultancy came off campus interview our institution. i got job as "manual test engineer". now iam working as "manual testing engineer". now my problem is when iam going interview the interviewer asking like " ur mba gradute how can u get job in test engineer." this question i have faced every interview. iam explaining how iam getting job. but they are not trust me". pls tell me answer how i am giving relavent ans.. this is my mail id y.ramana84@gmail.com

1399


can u please explain what is the exact difference between qtp8.2 and 9.0

1679


Explain the concept of how quicktest professional (qtp) identifies object?

575