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 will you load few objects in Active Screen?
How to retrieve the data from database?
what is exacltly TIERS ?
How to record objects of Windows taskbar
How to connect QTP to Testdirector
Does QTP provides any tools for parametarization?
What are table and db checkpoints?
Object Repositories types, which & when to use?
What is the extension of 'Log file' in QTP
if full in Object Repostoiory then how to load other Object Repository
What are the most frequent errors you faced while executing your scripts?
In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?