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 |
How to invoke Mozilla from QTP thru VB Script
write a qtp code to display all the items in the fly from combo box or list box
How to call .vbs funtion , Library files in QTP? plz Explain indetail(chandana)
i've installed qtp9.2 on Windows 7. Recording and everything no problem. But when i am saving the test, it is not happening. it says 'general error while saving'. But teh test is getting saved but as a folder with lock icon. When i wanted to open it, it is jst showing as a locked folder but not as a test. Somebody help me out plz
How to identify 2 versions of browsers based on regular expression
I want to see all the properties of agent name in login window. I will use the script Set a=Window("FR").WinEdit("Agent Name:").Gettoproperties( ) msgbox but my question is how to use the msgbox if i use a it will display only a, so anyone pls let me know how to get the display of all the properties using GetToProperties () or GetRoProperties (). Thanks a lot
please clarify the question ................. i know how to open the notepad file ? but i don't know how to enter the data into opened notepad ? Ex: set a=createobject("wscript.shell") a.run "Notepad.exe" please give the replay. my mail id is raju.ippali@gmial.com, 9823257761
what is keyword driven framework in qtp.
Other than using import sheet statement for importing the data from excel sheet, is there any other method that can be used?
what is meant by "Parameterization technique"?
hi testers,one script has three actions , at the of running three actions are running , how to set run only perticular action and what is the use of split the action? when it will be useful?
Write test cases for copy and past password in password field ?