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 |
Can I import a excel sheet in Action1 datatable? How?
Explain how you can delete excel file in qtp?
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 ?
your coming from electrical backgroung..but y ur coming to software side?
What is the limitation to XML Checkpoints?
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 .
How does quicktest professional identifies the object in the application?
what is the difference between seat and concerent licenses.
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
Scripts for Ascending order in qtp.
wht is the difference betn check point and output value?
how to explain a claims and insurance project?