str="ramanareddy12345@gmail.com"to count alphabets,numarics and special charcters pls any one knows send to answer
Answer Posted / usha
str="ramanareddy12345@gmail.com"
numbers=0
alphabets=0
specialchar=0
for i = 1 to len(str)
b = mid(str,i,1)
if isnumeric(b) then
numbers=numbers+1
ElseIf (asc(b)>=97)and (asc(b)<=122) or asc(i)>=65 and asc(i)<=90 then
alphabets=alphabets+1
else
specialchar=specialchar+1
End if
next
msgbox numbers
msgbox alphabets
msgbox specialchar
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?
How you can decide which type of object repository you have to use?
What is file database?
What is Test Fusion Report in QTP?
What is the new version of qtp which is recently released in the market?
how to explain a claims and insurance project?
How to use parameterization in qtp?
What does it mean when a check point is in red color? What do you do?
Give me some real time point of way where exactly we can conduct audits?
In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail
what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?
What is the difference in testing a client-server application and a web application?
Define Environment Variable in UFT and its uses?
Please Don't mind .i want in detail the real time process i.e in each document what it contains.
In qtp, how you can exit for loop?