i have string "I LIKE INDIA"..how to i get LIKE from the
sting..
Answers were Sorted based on User's Feedback
Answer / kk reddy
str="I LIKE INDIA"
var=mid(str,3,4)
msgbox var
Is This Answer Correct ? | 17 Yes | 2 No |
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 |
Answer / tanuj mohanty
str="I LIKE INDIA"
x=split(str," ")
print x(1)
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / rajendra nethala
str="I LIKE INDIA"
str=Split(1,str," ")
MsgBox Str(1)
Is This Answer Correct ? | 7 Yes | 3 No |
There are two tabs in the application suppose, A and B.On clicking the tab "A" one table grid will open. if u click on tab "B" Another table gride will open. Now can I do some operations on both table grids with a single table grid properties in the object repository? I have added all objects of the first table grid into the object repository Now iam checking enable/disable status of "save button" in the second table grid my code is like this val=javawindow("zseries").javabutton("save").getroproperty ("enabled") when I highlighting the save button in the object repository by keeping open the second tablegrid on the application.It is displaying the popup message"The selected object can not be found in the application" can I use properties of one table grid for both tabs if so how it is possible. Can anyone help me
I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?
hello, i was install Q.T.P.8.2 in windows xp version .when i am running my programs all the desktop icons are disappear why so. please guide me anybody how can i come out side this problem.
How many tabs are available to view your test in a test pane and what are they?
How u perform exception handling in QTp,what is other name for ths?
can any body help me out by providing links/material for descriptive programming in QTP otherwise can you post decriptive programing based interview Questetion&ans. plz help me out . i need it.
where u maintain qtp scripts in ur company
how to associate object repository during runtime in qtp
How to take screen shot of desktop by using vb script code or is there any method?
whow much strong on VB and C?
What is InStr()
How to identify flash application when the qtp is not identifying the flash application objects.