Extract a word from a sentenece?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the Application Functions available in QTP?

1475


How to break the object spy ?

662


Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.

1712


How many ways is to parameterize the value?

617


what is the hierarchy to use properties in descriptive programming

1503






what is vmodel?advantages and disadvantages of vmodel?

1614


what is description object?

1596


How you can make an action as re-usable action?

656


hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....

2437


What is QTP’s model for test creation?

677


How to run a test using quicktest professional (qtp)?

544


How to get popup error message.

1030


What does mean by Scope of Automation?n How we defined it?

1578


How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?

3596


What is the qtp testing process?

596