From: xlr82sas on 1 Mar 2010 11:56 On Mar 1, 7:24 am, yom...(a)GMAIL.COM (yom) wrote: > Dear all, > > I am looking for the macro %StrSrch which allows to find and replace any > string in text files. > The macro is explained in this paper :http://www.lexjansen.com/pharmasug/2006/technicaltechniques/tt04.pdf > Is there a similar macro that you know which allows to do it. > > Thank you very much in advance for your help. > > Yom You might take a look at PRXCHANGE and other PRX dunctions along with DOPEN? SOAPBOX ON Just some thoughts, that was a 2006 paper, It may predate some of the PRX functions. My take on this would be to look at some of the perl packages or archives. I believe this type of problem is better solved using somthing like a drop drown to perl. I think it can be done in 5 or fewer lines of perl code. SAS is not always the best solution for all problems. SOAPBOX OFF;
|
Pages: 1 Prev: macro %StrSrch Next: How to delete rows in a sas dataset |