Try this code MyString="ABABABA'" b=split(MyString,"A")
n=Ubound(b) msgbox n On Fri, Jun 25, 2010 at 7:30 PM, arihan sinha <[email protected]>wrote: > > please write the regular expression pattern and execute it against the > input string ( ABABABA) which is the argument to that function and you would > find how many times the match found. You can retrieve that and store it in > the variable. > > Regards > Arihan > > > On Fri, Jun 25, 2010 at 2:48 PM, chinna <[email protected]>wrote: > >> >> >> -- >> Thanks & Regards, >> Chinna, >> Mob:9739656841 >> >> -- >> You received this message because you are subscribed to the Google >> "QTP - HP Quick Test Professional - Automated Software Testing" >> group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected]<mercuryqtp%[email protected]> >> For more options, visit this group at >> http://groups.google.com/group/MercuryQTP?hl=en > > > -- > You received this message because you are subscribed to the Google > "QTP - HP Quick Test Professional - Automated Software Testing" > group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<mercuryqtp%[email protected]> > For more options, visit this group at > http://groups.google.com/group/MercuryQTP?hl=en > -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
