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 are the different recording modes and how do they work?
how to test Web application using QTP software
Explain different types of checkpoints?
How do you configure QTP AND Test director?
explain how to write vb script in qtp?when will you write own script?
What is the syntax to call one script from another?
how can i call function (which has link with excell sheet at a remote location) within another function
What is the use of Debug Viewer?
hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]
What is business process testing(bpt) in qtp?
How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?
Analyzing the checpoint results?
Explain different type of event trigger option.
what are the utilities and drivers
What environment does qtp run in?