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


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

In my QTP script I have a word in notepad that ends in a question mark, for example... "father?" As part of my script I want to delete the question mark. How do you delete a character in notepad?

4 Answers  


several browsers opened. write QTP script to close all browsers except gmail.

1 Answers   Thomson Reuters,


I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.

0 Answers  


Hi. I have completed B.TECH(CS) , But I will go to "SECURITY CONSOLE OPERATING" [C.C CAMERA abservation]. IF interviwer asks " Why you choose this job ?" What we will say? urgent.........................urgent...........

0 Answers   IBM,


Hi... Can anybody help me to write the vbscript for this question..!!! Am having a string "HELLO WORLD", i want to find how many "L"s are there.....????? --> HANEEF <--

5 Answers  


I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?

0 Answers  


what is supply chain management?

0 Answers   ITC Infotech,


Do we have to Enable Smart Identification while running Or will it automatically be enabled ?

2 Answers  


In this bellow script QTP is not able to getting no. of Links from my Browser. Set desc=description.create desc("micclass").value="Link" Set obj=Browser("creationtime:=0").page("title:=.*").childobjects(desc) msgbox obj.count I am getting "General Run Error".Why QTP is not supporting my Browser,but its running fine in other system.Please help me to overcome this problem.

1 Answers  


For example one window is there the window contain some of Check boxes but my question is how many check boxes are there particular window? Please solve the problem gi_raju@rediffmail.com ippaliraju@yahoo.co.in

3 Answers  


pls tell me how will you write the vb script in QTP for DataDriven test from Excel sheet for multiple userid and password explain with example

6 Answers   Ordain Solutions,


wt is the use of multiple questions in QTP

0 Answers   DigiTech,


Categories