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

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

What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?

1172


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 :)

1810


In qtp, explain what is qrs file?

1053


HOw to add the recovery file at runtime to the test file .

2169


Write a QTP script to enter a keyword in to Google search engine?

1044


How will you find the current time of the remote machine using QTP script?

1052


For which type of projects the iterative model is not suitable?

1872


What are the Test design techniques you uses in ur project?

1951


What is the difference between Keyword Driven test and Data Driven test?

2210


How can I use Call dlls in QTP ?

2298


Hai anyone please "Explain about Framework in QTP?"

2150


what are the limitations of smart identification in qtp 9.0

2354


What is the descriptive programming?

2011


Is text area check point supports for web applications?

957


Why is Client side image is preferred over server side image?

1882