suppose the given string str = {"vamsikrishna%%&%*&**"}
count the no of vowels and special characters are repeated
Answer Posted / koteswar
str = "vamsikrishna%%&%*&**"
z= " "
For i = 1 to len(str)
x = mid(str, i, 1)
If Instr(1,z,x,1) Then
Else
z=z+x
msgbox z
End IF
For j = 1 to len(z)
a= mid(z,j,1)
b=split(str,a)
c=Ubound(b)
Next
msgbox c
Next
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
How to execute a winrunner script in quicktest professional?
How to use the object spy in quicktest professional 8.0 version?
how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods
any body can you help me what is the script to automate an comand promt
how will you load the test cases in ddt?
What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this
How do you handle multiple banners(at the top the page, the banner is scrolling) in a web page(Dont take the name property(regular expression))
What are the five challenges you faced in QTP?
how to find that tools work well with your existing system?
Explain the views in the QTP GUI?
how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer
What is file database?
How software automation specialist enter steps in the Expert View?
What are the different types of recording modes in qtp? Which will be used when?
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field will reflects and so on.if total psngrs=100 then will we capture all the fields for the psngrs to Automate the app how we can handle this scenerio thru Descriptive programming?