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 |
Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.
What is meant by virtual obj and Y do v need virtual obj configuration.
i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com
is there any addin for remedy user application
What is Distributed testing? How does UFT support it?
Explain the concept of object repository and how QTP recognizes objects?
Hi,can anyone tell me How to found the number of 1's and 2's in the given format 1,1,2,2,3,3,4,2 using vbscript Thanks in advance
what is descriptiveprograming? how to do object identification thrugh Descriptive and is possible smart identification or not
suppose take one row in a row 16 columns is there.in 16 columns 16 numbers is there.but i want to get each 3 column number.o/p :5 columns get in 16 columns means. so can anybody write this function? plz send if u know the answer.
How is GC reddy online program Will i get placed How are the placements.
What are the main attributes of test automation?
If enter into interviewer room? how u introduce with him. with shakehand or waht?