str="QTP AUTOMATION TESTING"
here how many T are there in the str
finally i want to display the T
Answer Posted / cnu_thatavarthi
Dim strValue,i, blnFlag,incRement
strValue = "QTP AUTOMATION TESTING"
blnFlag = ""
incRement = 0
For i = 1 to Len(strValue)
If Ucase(mid(strValue,i,1)) = "T" Then
incRement = incRement+1
blnFlag = blnFlag &Ucase(mid(strValue,i,1))
End If
Next
Msgbox incRement 'Number of Ts are Displaying 5
Msgbox blnFlag
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the default object synchronization timeout in qtp?
Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..
What is QTP and the use of QTP in TD?
hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company
What is Cross browser testing? Does UFT support it?
what is clean sweep?
Explain the views in the QTP GUI?
What is the use of Debug Viewer?
what are the utilities and drivers
HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?
What are the key points to create a framework in QTP for oracle forms?
What is synchronization point in QTP?
How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?
what are the mandatory properties for a tex boxc (scenario?)
i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji