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
can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?
How to delete an object from the object repository?
RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?
What are the types of properties that quick test learns while recording?
What are the properties you would use for identifying a browser and page when using descriptive programming?
I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.
can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
How will you check a web application for broken links using qtp?
What is the Difference between copy to action and call to action?
How to connect the remote desktop using QTP 9.2 explain the method or procedure?
Can you list some technologies that support qtp?
hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.
how to explain a claims and insurance project?
What is the extension of qtp local repository?
How to build scripts that access data from external sources?