Extract a word from a sentenece?
Answers were Sorted based on User's Feedback
Answer / rajaram_patil
'Use the code below
varStr = "This is a sentence"
MyArray = Split(varStr," ")
i = ubound(MyArray)
For j=0 to i step 1
msgbox MyArray(j)
Next
Is This Answer Correct ? | 15 Yes | 3 No |
Answer / rajasi patil
strValue = "This is my World"
searchWord = "my"
arrWord = Split(strValue," ")
For iCount = 0 to UBound(arrWord)
If strComp(arrWord(iCount),searchWord,1) = 0 Then
Reporter.ReportEvent micPass, "Word
Found "&searchWord, "At Position "&iCount
Exit For
End If
Next
Is This Answer Correct ? | 5 Yes | 0 No |
hi all
check this
varStr = "I wanted to remove one word from the sentence"
'i am trying to remove "word" from the above sent..
MyArray = Split(varStr," word ")
i = ubound(MyArray)
MyString = join(MyArray)
msgbox MysSring
Contact me on kapilet05@gmail.com if you need more info..
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / neeraj kumar
Hi friends!
I would like to help you,
This example can help you
Dim Str, Str2
Str="Automate your business processes & be more"
Str2=Mid(Str, 9, 5)
msgbox Str2
Is This Answer Correct ? | 6 Yes | 4 No |
Answer / neeraj kumar
Hi friends!
I would like to help you,
This example can help you
Dim Str, Str2
Str="Automate your business processes & be more"
Str2=Mid(Str, 9, 5)
msgbox Str2
Is This Answer Correct ? | 2 Yes | 2 No |
wt is frame work wt r d different types of frame works used in ur company
How u will open the build automatically in QTP except using Systemutil.run command
how do check the links in a webpage ?
i have to prepare qtp certification course. so, please send me qtp tutorial notes.
what is the defference between QTP 8.2 and 9.0and 9.2? plz tell me
How to handle the exceptions using recovery secnario manager in Qtp?
How we can add objects to the object repository during the running?is it possible or not?explain
We developed 100 descriptive programms and put in running, in the midle if any descriptive program is stucked with some error? what will happend weather it will execute the remaining prg's or it will terriminate ?
What is BPT?
After coming to know that QTP could not identify non-standard objects, we set those non-standard objects as virtual objects using Virtual object wizard. But how can we identify that qtp could not identify non-standard objects?
Hi Guys, I am very new to QTP tool , In real time environment how to test the application with this tool, 1. How to load application in QTP tool 2. How to write test script in QTP. 3. In manual testing we test login box (user id , password) how can we test this kind of testing with QTP tool with examples . Please guys put some focus on my questions , real time ecperienced answers would be appreciate, advance thanks ,please guys i am expecting ur answers as soon as posible
how can i impliment error handling in QTP?