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

what is L-trim function will do?

2 Answers  


Which advantages helping QTP to hold the position of "Market Leader" for such a long period?

0 Answers  


How to create a standard checkpoint ?

0 Answers  


explain abt dyanamic changing object with example?

0 Answers   Wipro,


Can we put more than one action in a single script???? yes or no.....

2 Answers   BirlaSoft,


Could anyone please tell me one situation where you have used recovery scenarion in real time with an example?

4 Answers  


How to find a window is minimized or not

0 Answers  


keyword driven framework having how many folders? explain folders in detail?

1 Answers  


hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)

0 Answers   Livetek,


How do we do DOM programming in QTP.Could you explain with an example. If possible please provide some material or link related to DOM Programming.

0 Answers  


How to use actions in qtp ?

0 Answers  


how will b the questions if we keep one QTP project in CV.please tell me iam attending an interview.

3 Answers   IBM, Questacon,


Categories