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...

How to check and display a particular word from a paragraph?

Answer Posted / dinesh1433

strParagraph="There are subtle differences between these methods. The CreateTextFile is used to create a file and a
TextStream object. This method can optionally overwrite an existing object. The OpenTextFile opens an
existing file and returns a TextStream object, but can optionally create the filename if it does not exist. The
OpenAsTextStream object opens an existing file and returns a TextStream object."

str="opens"

if Instr(strParagraph,str)>0 then
msgbox "The particular word found from the paragraph"
msgbox str

else
msgbox "particular word not found from the paragraph"
end If

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to integrate the qualitycenter with qtp

2217


Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..

1741


In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field and so on. how we can handle this scenerio thru Descriptive programming?

1864


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

1863


How to handle the exceptions using recovery secnario manager in quicktest professional?

1090


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

984


I want to do QTP Certification what is the pattern of Question paper.

2121


what is the structure for the data driven framework

1962


If I change the property value at runtime is it effect is object repository?

1054


Why do we use breakpoints in QTP?

1016


Explain building blocks of the bpt framework ?

1023


supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?

1764


Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?

3825


Generic function to search for the unique link in webtable and click on it

3036


In qtp, explain what is crypt object

994