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
How to integrate the qualitycenter with qtp
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..
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?
Why is Client side image is preferred over server side image?
How to handle the exceptions using recovery secnario manager in quicktest professional?
With what extension you can save the list of tests in a file to run in test batch runner?
I want to do QTP Certification what is the pattern of Question paper.
what is the structure for the data driven framework
If I change the property value at runtime is it effect is object repository?
Why do we use breakpoints in QTP?
Explain building blocks of the bpt framework ?
supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?
Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?
Generic function to search for the unique link in webtable and click on it
In qtp, explain what is crypt object