How to search word in a string without using instring function?



How to search word in a string without using instring function?..

Answer / cnu_thatavarthi

Solution1: text or Textarea checkPoints
solution 2:if condition method

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More VB Script Interview Questions

Could Anybody tell me the VBscript for REVERSE an Integer int reverse(int num) Ex:246 to 642

7 Answers   Amazon,


while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans

0 Answers   IBM,


I want to count the total no of links present in yahoo home page. The script like Set fileSysObject=createobject("Scripting.FileSystemObject") Set linksFileName=fileSysObject.opentextfile("D:\samplelinkfile.txt",2,true) Set linkDescObj=description.Create linkDescObj("micclass").value="Link" Set noOfLinks=browser("yahoo").Page("Yahoo!India").ChildObjects(linkDescObj) For i=0 to noOfLinks.count-1 linkName=noOfLinks(i).getROProperty("name") linksFileName.writeline(linkName) Next linksFileName.close Set fileSysObject=nothing But while running the script it is fail (the object not present in the object repository).How to overcome please tell me the detail steps...for QTP9.30

1 Answers  


Difference between Function and Sub routine?

0 Answers   Polaris,


in qtp we ve datatable look like excel ,if we want to extract data from excel which saved in my documet how can i get that in datatable using vb script

2 Answers  






Here in my automation tool, i am retreiving some values and i need to store this values in the excel. How can i achieve this?. We are using VBA as scripting language. please let me know if you require any further inputs.

1 Answers  


Explain sga memory structures?

0 Answers  


Explain the support of asp for vb script functionality?

0 Answers  


Write a test case using Test if the images,a particular test exists,check if the page links match,page response is within a certain range,parameterization of the test,the test should comprise of actions,the test should use a custom function,the test should use global repository

0 Answers  


Inorder to avoid Message box while writing script which alternative method can be used?

1 Answers  


Write a program using Java Script / VBscipt that checks if two matrices have identical values in all the elements

1 Answers   Ignou,


Description.Create

0 Answers   IBM,


Categories