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


Please Help Members By Posting Answers For Below Questions

With what extension you can save the list of tests in a file to run in test batch runner?

571


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?

1628


What are the main differences of qtp and win runner?

597


Explain Descriptive Programming Types with Examples?

928


What does mean by Scope of Automation?n How we defined it?

1582






How to recognise the webelement and verifying that webelement is enabled?

1651


Suppose I want fail that check point? How can you do that?

602


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

1740


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?

1588


what is description object?

1602


write script for bitmap image?

1547


How qtp recognizes the object?

675


Explain the types of object repository?

560


What is quicktest professional window?

567


how to prepared for first for the first interview?

1801