i have string "I LIKE INDIA"..how to i get LIKE from the
sting..

Answers were Sorted based on User's Feedback



i have string "I LIKE INDIA"..how to i get LIKE from the sting....

Answer / kk reddy

str="I LIKE INDIA"

var=mid(str,3,4)

msgbox var

Is This Answer Correct ?    17 Yes 2 No

i have string "I LIKE INDIA"..how to i get LIKE from the sting....

Answer / ramana vanteru

I want to add some more info to KK's ans, we can use

Mid Function

Returns a specified number of characters from a string.

Mid(string, start[, length])
Arguments

str="I LIKE INDIA"

var=mid(str,3,4)

msgbox var

Is This Answer Correct ?    7 Yes 0 No

i have string "I LIKE INDIA"..how to i get LIKE from the sting....

Answer / tanuj mohanty

str="I LIKE INDIA"
x=split(str," ")
print x(1)

Is This Answer Correct ?    5 Yes 0 No

i have string "I LIKE INDIA"..how to i get LIKE from the sting....

Answer / rajendra nethala

str="I LIKE INDIA"

str=Split(1,str," ")

MsgBox Str(1)

Is This Answer Correct ?    7 Yes 3 No

i have string "I LIKE INDIA"..how to i get LIKE from the sting....

Answer / lakshmi

Mid Function we have to use here

U must take care of spaces also

so,Mid(str,3,4)

3-> starting position
4-> length

Is This Answer Correct ?    3 Yes 0 No

i have string "I LIKE INDIA"..how to i get LIKE from the sting....

Answer / mahesh

can any body send me code for this question

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Can I import a excel sheet in Action1 datatable? How?

2 Answers   IBM,


Explain how you can delete excel file in qtp?

0 Answers  


i am testing an online shopping application.I CLICK on a link "ADD TO CART" of that application a "new page" is open and then click on any object of that "new page". after that when i run this SCRIPT then on this "new page" QTP always shows error of "OBJECT NOT FOUND". How i solve this problem ?

4 Answers  


your coming from electrical backgroung..but y ur coming to software side?

0 Answers   Accenture,


What is the limitation to XML Checkpoints?

4 Answers   CTS,






Idid my qtp course in 2007 june in mind Q i for got to use this tool ,i want to mention in my resume about this ,how can i rectify this ,pls give me any idea .

2 Answers   Quest,


How does quicktest professional identifies the object in the application?

0 Answers  


what is the difference between seat and concerent licenses.

3 Answers   AppLabs, TCS,


i have qtp 9.5 ver software.but i don't know the license key. if anyone have license key please send it to my personal mail id(munir.reddy@yahoo.com

2 Answers  


Scripts for Ascending order in qtp.

3 Answers  


wht is the difference betn check point and output value?

5 Answers   BirlaSoft,


how to explain a claims and insurance project?

0 Answers  


Categories