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
why you have standardized functions? plzzz guys with real time exp. do answer
1.How to record ,capture and also script to capture the close buttons. 2.How to record ,capture and also script to capture the options ---File ->save and File ->close in a browser and PDF files. 3.How to compare the Excel sheet values in a report using QTP scripting. 4.How to compare 2 PDf reports using QTP scripts as well reording. 5.How to compare 2 Excel reports using QTP scripts as well reording. 6.How to save a PDF report to a folder and then translate the report to an Excel type of report and compare that Excel Report with an other excel report. Please clarify me
Where is the Bitmap checkpoint information stored?
What is QTP’s model for test creation?
Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..
Explain different checkpoints in qtp.
What are the different types of qtp test assets and their extensions?
in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?
can anyone tell me from where i can download qtp demo or crack version
any body can you help me what is the script to automate an comand promt
What is an expert view and keyword view?
• What type of testing questions will be asked for 2+ yrs exp people in interview?
Whether qtp 9.0 supports Test director8.0
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?
I have developed and executed a script successfully, and saved the same to QC. When I tried to execute the script from QC, the script is not executing. What are the possible reasons?”