Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Extract a word from a sentenece?

Answers were Sorted based on User's Feedback



Extract a word from a sentenece?..

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

Extract a word from a sentenece?..

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

Extract a word from a sentenece?..

Answer / kapil gupta

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

Extract a word from a sentenece?..

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

Extract a word from a sentenece?..

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

Post New Answer

More QTP Interview Questions

how to test Web application using QTP software

4 Answers   BITS,


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?

0 Answers  


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 :-)

2 Answers  


What are the steps involved in recovery scenario wizard?

0 Answers  


Which property do you use to retrieve or assign data into a cell in a Data Table object?

1 Answers  


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?

2 Answers   Spry Technologies,


What is FRAME WORK? How many Frameworks can QTP supports?

4 Answers  


take one exmple and write on that discriptive programe in qtp?

1 Answers  


what frame work you are following?

0 Answers   Wipro,


what is descriptive programming in QTP? How can be done?

19 Answers   Accenture,


what is check point?

2 Answers  


Categories