Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



Deal All, Recently i face one interview question in one company. str="test12@#3456" ..

Answer / 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

More QTP Interview Questions

What is an Regular expression doing in VBScript?Tell the pattern for the email verification.

1 Answers   Accenture,


how to do regression testing in qtp? plz give ans with examples

6 Answers   TCS,


How to perform action on objects, If two objects have the almost the same name ? example : Object 1 : "Entry of Items" Object 2 : "Items" Whenever I ask QTP to perform an action on Object 2 it performs action on Object 1. Note: The two objects are present in an Oracle Application tree.

2 Answers   Wipro,


Where you are storing your script?

0 Answers  


How to load object properties to object repository through scripting.give one example

7 Answers   IBM,


how do find current links in webpage for ex: in yahoowebsite today mainpage is having 50 links and next day same page is having 60 links. if i run same programe it should display total links in webpage ?

4 Answers   CTS,


How to run a test using quicktest professional?

0 Answers  


What scripting language QTP of?

4 Answers  


How to get line numbers in your editor in expert view?

1 Answers  


i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com

0 Answers  


Hi I able to record IE object but not able to record mozilla firefox 3 object using QTP 10. i don know wats the problem????

2 Answers  


Describe how Smart Identification is used

0 Answers  


Categories