str="ramanareddy12345@gmail.com"to count alphabets,numarics and special charcters pls any one knows send to answer
Answer Posted / nitin sharma
Dim mystring
mystring = "ramanareddy12345@gmail.com"
stext = "12345"
mtext = "@"
X = split(mystring,"@")
Y = split(mystring,".")
'count character "@"
msgbox ubound(X)
'count character "."
msgbox ubound(Y)
ssearch = instr(1,mystring,stext)
msearch = instr(1,mystring,mtext)
Z = mid(mystring,ssearch,len(stext))
'count of numeric '12345'
If isnumeric(Z)=true Then
msgbox Len(Z)
End If
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Which functionalities of QTP used in banking project? pls any say answer?
iam working in QTP for 2+ of exp if i attend the interview what r questions asked in perfomence testing{loadrunner} ? pls any one can say answer to this question?
how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief
How to check which add-ins are associated with a test in qtp?
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
What are the common defects found in your project? (in qtp interview)
What is Unicode Compatibility?
How does you test a weblink which is changing dynamically?
can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?
How to use parameterization in qtp?
Can you brief the hurdles you faced during Automation testing?
Suppose I want fail that check point? How can you do that?
Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...
How to use Environment parameterization? Explain with an example.
can any body give the banking domain concepts/links