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

Where to use Property Let, Property Get, Property Set in UFT

372


Is it possible to split an action? How?

660


Where we can use the synchronization?

571


what could go wrong with test automation?

1507


How do you check ticket cost and ticket number in flight application?

589






can anyone tell me from where i can download qtp demo or crack version

1621


what is the hierarchy to use properties in descriptive programming

1498


How is the Bitmap checkpoint different from Image checkpoint?

623


Can you brief the hurdles you faced during Automation testing?

577


Hi I have exp in manual testing and planning to move in automation testing qtp(9.2).So can help me how to automate customer relationship management tool using qtp and vb script this tool already developed so how can I test it whatever maintaining by development team like documents,various options just give the whole life cycle thanks in advance

1539


What are the different types of checkpoints?

583


How can I change object description or check point values in qtp?

555


What is TOM in QTP?

1804


how to know no.of mails in our g mail by using vb-script

1779


What is the recovery scenario in qtp?

571