write a script to extract LIKE word from the sentence I
LIKE Flowers

Answer Posted / vikash mishra

dim x,y,z
x= "I LIKE Flower"
y = mid(x,3,4)
msgbox y
it will give the LIKE you as a out put
another way

x = "I LIKE Flower"
y = split(x,"")
for i= 0 to ubound(y)
msgbox y(i)
next
it will give I,LIKE,Flower
so,these are the way ....

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What the difference between a 'defect' and a 'failure' in software testing is?

609


test scenarios for downloading a file

1653


What are the goals in your career as Test Engineer if u join the new compnay

5001


What is the difference between uat (user acceptance testing) and system testing?

629


Set a=description.Create a("name").value="Google" Set b=description.Create b("Title").value="Google" Set c=description.Create c("micclass").value=" webedit" 'c("name").value="q" 'c("type").value="text" 'Set d=description.Create 'd("name").value="q" Set e=description.Create e("micclass").value="webbutton" e("name").value="Google Search" Set h=description.Create h("name").value="qtp - Google Search" Set desc=description.Create desc("micclass").value="webelement" desc("type")="qtp" Set l=description.Create l("title").value="qtp - Google Search" 'invokeapplication"C:\Program Files\Internet Explorer\IEXPLORE.EXE","http://www.google.co.in/" invokeapplication"C:\Program Files\Internet Explorer\IEXPLORE.EXE" Browser(a).Page(b).WebEdit(c).set"qtp" Browser(a).Page(b).WebButton(e).click set z=Browser(h).Page(l).childobjects(desc) i=z.count print i 'For j=0 to i -1 ' m=z(j).getroproperty("text") ' msgbox m ' print m ' 'Next hi guys this is anil. i am beginner in advance qtp. i am trying to write script for searching web element (QTP)in google. i have posted a script plz check it. send me solution how to write scripting for search and counted no qtp word in google search . plz tell me the solution ASAP

2633






hey guys ... since i have just started my career i need to know whether testing has a good career or not .. ?

1480


Innovative suggestions, solutions, if any, brought out by you for the better performance of the Quality and Testing department/ company during the review period: Anybody can answer to this question..Thanks in advance..venkat

2335


What the difference between pilot and beta testing is?

538


wht is scope of ur project?

1646


Which one of the following activities is the most efficient and most cost effective at identifying defects? 1. Prototyping 2. Unit test 3. Beta test 4. Design/code inspection 5. Risk analysis

1638


is manual testing enough for 2+ yrs,does it need any tools

1912


How can I get free .NET add-in for QTP9.2. What is the process to install any add-in?

1926


What is oo integration testing?

541


What is path testing?

695


A type of functional testing, which investigates the functions relating to the detection of threats, such as virus from malicious outsiders?

776