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 |
What are all the common questions asked for the candidates having more than 1 yrs exp in QTP?
There is a very good institute for Automation Testing using QTP.For more details please visit jbslearnings.com.
I have a Webtable object in my shared object repository, say WT1, which has different index value in 2 different versions, one version having WT1's index value as 1 and other version having WT1's index value as 2. how could i use same test script to identify the WT1 object having different index values.
what is stlc and its contents?
how to capture (or) checkpoint for chineese or any other language except english using QTP in a web page. ( my application have 24 language, how to check those lanugages using QTP? is it possible). Please let me know
Write a QTP script to enter a keyword in to Google search engine?
How to invoke Mozilla from QTP thru VB Script
in QTP, we have options like (record and play,recording modes(normal,analog,low level),object identification,smart identification,object repository,synchronizing test,transactions,checkpoints(std,bitmap,text,text area,DB,XML,accessibility),regular expression,actions,data driving,parameter,parameterization,data tables,recovery scenario(pop up,object state,test run error,application crash). real time users of QTP, pls say and when and at what point u have used all these options ,in ur concerned project.pls give me explanation in accordance with ur real time project handled. real users pls send some time in the aboue case. if u can send the the reply through allinterview or at ref_it_ref@yahoo.co.in
How To write script in QTP For Field Validation Example: password Field is accepting A range 8-20 characters only.How to write script?
Can any one explain about environment variables with examples?
what is keyword driven framework in qtp.
what will be there in keyword view and expert view?