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
With what extension you can save the list of tests in a file to run in test batch runner?
There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?
What are the main differences of qtp and win runner?
Explain Descriptive Programming Types with Examples?
What does mean by Scope of Automation?n How we defined it?
How to recognise the webelement and verifying that webelement is enabled?
Suppose I want fail that check point? How can you do that?
Hello, Is there any way to send the test results in html format (or any other) by email using outlook after the test run ends? thank you in advance
hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?
what is description object?
write script for bitmap image?
How qtp recognizes the object?
Explain the types of object repository?
What is quicktest professional window?
how to prepared for first for the first interview?