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 the syntax to call one script from another? And what can be the syntax to call one “action” in another?
how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)
In qtp, explain what is qrs file?
HOw to add the recovery file at runtime to the test file .
Write a QTP script to enter a keyword in to Google search engine?
How will you find the current time of the remote machine using QTP script?
For which type of projects the iterative model is not suitable?
What are the Test design techniques you uses in ur project?
What is the difference between Keyword Driven test and Data Driven test?
How can I use Call dlls in QTP ?
Hai anyone please "Explain about Framework in QTP?"
what are the limitations of smart identification in qtp 9.0
What is the descriptive programming?
Is text area check point supports for web applications?
Why is Client side image is preferred over server side image?