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...

In my QTP script I have a word in notepad that ends in a
question mark, for example... "father?" As part of my
script I want to delete the question mark. How do you
delete a character in notepad?

Answer Posted / saff

i am asuming there is only one "father?"
string in file
open the desired notepad
and them search for the desired string byusing instr
v = instr(filename,searchstring)'the position of the string
father
b=instr(filename,"?") 'the position of the ?
n =b-n ' will give the size of the string

now use the replace function to replace the ? with whatever
uw want

it will show the position of first occurance of the stirng

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to find Operating system information using QTP script?

1008


if anyone has idea of the interview procedure in covansys, plz send me a mail?

1974


What is the difference between analog and low level recording?

1090


In qtp, how you can get the last character from a string?

1007


Limitations in QTP?

2159


What is the basic concept of quicktest professional (qtp)?

1067


How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?

3567


In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer

2406


In qtp is it possible to check broken links of a page?

1049


any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in

3889


How to test background color and dynamic images during run time can you put the check point for moving objects?

1930


What is a recovery scenario?

1161


can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?

2070


Step 3&4 are repeated until an the object in recognised uniquely.

2033


How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?

2332