Deal All,
Recently i face one interview question in one company.
str="test12@#3456"
In This i want to print like special character and numeric ,word in one script
please tell me how to write the code for this
Thanks
Balaji
Answer Posted / pushkar1206
a="pushkar12@dh"
b=len(a)
For i=1 to b
c=mid(a,i,1)
If isnumeric(c) Then
d=d&c
elseif asc(c)>64 and asc(c)<123 then
e=e&c
else
f=f&c
end if
Next
msgbox d
msgbox e
msgbox f
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
what is review
What is object spy in quicktest professional (qtp)?
What is contained in the object repository?
How to open a new test using quicktest professional?
What is quicktest professional?
what the difference between shared repository and per action repository?
if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column which is worked for both edit and delete..how to write script for the button to test both operation on the web table using desriptive programing.. plz help me on script wheather using getroproperty Q2)what is the command for taking valiue from a web table in qtp
Can you write a script to check if the folder exists or not?
What ate the Technologies supported by QTP?
I have qtp 9.5 demo ver,I am not able to record the yahoo broeser.so anyone can tell me what setting i have to do in QTP for yahoo brower recording. why its not recognise the object of yahoo browser????
Explain the check points in quicktest professional?
What are the different properties of an web object
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
Explain the benefits of quick test pro(qtp)?
How many lines of code in each script of QTP?