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 |
how to test Web application using QTP software
I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?
How to write script to display a message box having the "Date" value of the fourth mail(yahoo account). I've tried it with the web table concept but the content doesn't get displayed? Please help me out to resolve this :-)
What are the steps involved in recovery scenario wizard?
Which property do you use to retrieve or assign data into a cell in a Data Table object?
Hi,The question is write a script for the following scenario. scenario:in a job portal i entered QTP 3yrs testing then click search button.then it displays results like Test lead bangalore (here is a checkbox). Test lead hyderabad check box so on... question is if test lead position in bangalore then checkbox shld be enabled automatically..
4 Answers Thatavarti Technologies,
what are the functions availabla in QTP? what are the data types in QTP?
What is FRAME WORK? How many Frameworks can QTP supports?
take one exmple and write on that discriptive programe in qtp?
what frame work you are following?
what is descriptive programming in QTP? How can be done?
what is check point?