how to calculate no. of repeating characters in a a
string..please give me the code

Answer Posted / rayudu

suppose you have a string like

"God is Great"


A="God is Great"
Cnt=split(A,"G")
msgbox Ubound(Cnt)


will display 2

Is This Answer Correct ?    28 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does any one worked on JIL Emulator , Testing with QTP(automation). Trail Version of QTP is not identifying the child objects of JIL emulator, Can any one help me out ,

1374


I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all

1508


What is object spy in quicktest professional?

610


What is the extension of qtp local repository?

565


can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process

1277






wht type of User defined functions or Java Releated functions do we write in VB scripting

1815


What is keyword view?

557


what kind of frame work you used in your last project?

1809


When ‘option explicit’ keyword is used in qtp?

741


How to add verification steps to tests?

9114


I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...

1453


Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?

2965


tell me QTP standards ?plz

1508


1. wat are the main diff b/w QTP 8.0 AND QTP 9.2 ( not user interface) 2. wat is the meaning of Keyword in keyword driven frame work? 3. how u will handle the unknown errors while exucution. (not recovery scenario)

1714


What are private functions in QTP? How they can be called from the function library?

624