how to count the word "IS" is repeated in the application
using DP

Answers were Sorted based on User's Feedback



how to count the word "IS" is repeated in the application using DP..

Answer / kis

str="mismismismis"
cnt=Split(str,"is")
Msgbox ubound(cnt)

Is This Answer Correct ?    7 Yes 0 No

how to count the word "IS" is repeated in the application using DP..

Answer / kis

str="mismismis"
p=1
cnt=0
while instr(p,str,"is")>o
cnt=cnt+1
p=instr(P,STR,"is")+les("is")
wend
msgbox"is is repeted for "&cnt

Is This Answer Correct ?    4 Yes 1 No

how to count the word "IS" is repeated in the application using DP..

Answer / lakshmi

hey. u r question is not clear.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More QTP Interview Questions

how can we perform web datatable operations on webpages(Like rowcount,col count,cell data)?

2 Answers   Syntel,


When and why do you use "OPTION EXPLICIT" in VB Script. Is there any online help or something to learn the script for Beginners?

6 Answers  


If a script has a local repository and also uses a shared repository, which repository will QTP use first when searching for an object during playback?

3 Answers  


hi, can u tell me the QTP TEsting process in present real time companies?(beware of this... now a days Recording is not using,, only DP) and don't tell note book answers like step 1 spep2....like this .......post answer with professional skills in simple english words) thank u

0 Answers  


describe some problems that u had with automating testing tool?

0 Answers  






Why we load add-ins in qtp?

0 Answers  


How you can replace string in qtp?

0 Answers  


why qtp supports vbscript? and not for others just like cgi,phython,shell,perl,html and all..

4 Answers   Cap Gemini,


How to Practice QTP Scripts?

1 Answers  


How to modify object property in qtp ?

0 Answers  


recording is not a good programming practice.How to write effective script without recording.Which is the correct method explain in detail

3 Answers   Infosys,


I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, as i'm not in a possition to afford any 'Fee' to join in any institutions. Hence, if possible, kinldy mail PDF file to my mail-ID: chakri_avala@yahoo.co.in Regards, Chakradhar Yadav.

95 Answers   Cap Gemini, Citrix, CTS, IBM, Logistics, QA InfoTech,


Categories