suppose the given string str = {"vamsikrishna%%&%*&**"}
count the no of vowels and special characters are repeated
Answers were Sorted based on User's Feedback
Answer / ganesh
str ="{vamsikrishna%%&%*&**}"
For i=1 to len(str)
a=mid(str,i,1)
b=asc(a)
If b>=97 and b<=122 Then
d=d&a
else
e=e+1
End If
Next
For i=1 to len(d)
g=mid(d,i,1)
If g="a" or g="e" or g="i" or g="o" or g="u" Then
f=f+1
End If
next
count1=f+e
print count1
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / 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 |
what will be the stmt if record any edit box in the Web application ?
What the genaric function to connect Sql Server using Sql Server Authentication and Windows Authentication
Explain qtp(quick test professional)?
In how many ways we can add check points to an application using QTP.
Qtp Automation Engineer , Can he login in VSS? What purpose he login In VSS? But Some companys are using CVS AND VSS ? some are Have log in in VSS Some Not login(not accessing) into VSS, not login persons are working on CVS? my doubt is, can Qtp automation engineer have loin in VSS or not? Where he store QTp Script?
hi in QTP 8.2 in the edit box has text like "raju want married" . i want to check "want" is their in the text or not ?
How do you return a value from a function
In VSS, HoW the documents send to local folder? copy paste or any other? plz explain about VSS TOOL kit?
what is automation(qtp)bug pls giv me one ex?
What is the Difference between current version of QTP and QTP 8.2. Pls kidly Anybody let me know. Thanks in advance.
Can U Explain about QTP tool from older version to latest version also its differences?
I have given u a application.To automate it what are the things will u consider?