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
Explain Descriptive Programming Types with Examples?
What is the extension of qtp local repository?
How do you configure QTP AND Test director?
Hi, I'm a beginner in QTP and planning of a certification in QTP, but have no idea about it :P. Could anyone please tell me what certifications that a QTP- beginner can take? What is the fees and the syllabus for the certification? Please reply soon. Thanks Vidhya
Explain the check points in quicktest professional (qtp)?
what is the frame work in J-meter?
Is any limitation to xml checkpoints?
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...
What do you to script when objects are removed from application?
Write a script to customize the test results in PDF and HTML format.
What is active screen?
Explain building blocks of the bpt framework ?
There is an excel file of 1 to 100 sheets how you will iterate through it?
HOw to add the recovery file at runtime to the test file .
What is the difference between the keyword view and expert view?